Click or drag to resize
AttachmentExtensionsIsVariant Method
Returns true if the attachment is a variant of an original attachment.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static bool IsVariant(
	this IAttachment attachment
)

Parameters

attachment
Type: CMS.DocumentEngineIAttachment
Attachment to check.

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IAttachment. 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