Click or drag to resize
AttachmentExtensionsExceptVariants Method
Filters attachments to get only ones which do not represent variants.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public static ObjectQuery<AttachmentInfo> ExceptVariants(
	this ObjectQuery<AttachmentInfo> query
)

Parameters

query
Type: CMS.DataEngineObjectQueryAttachmentInfo
Query for retrieving attachments.

Return Value

Type: ObjectQueryAttachmentInfo

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ObjectQueryAttachmentInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also