Kentico 12 Service Pack API Reference
Kentico 12 Service Pack API Reference
Namespaces
CMS Namespaces
CMS.DocumentEngine Namespaces
CMS.DocumentEngine
AttachmentExtensions Class
AttachmentExtensions Methods
ExceptVariants Method
GenerateAllVariants Method
GenerateMissingVariants Method
GenerateVariant Method
GetVariant Method
IsVariant Method
AttachmentExtensions
IsVariant 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#
Copy
public
static
bool
IsVariant
(
this
IAttachment
attachment
)
Parameters
attachment
Type:
CMS.DocumentEngine
IAttachment
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
Reference
AttachmentExtensions Class
CMS.DocumentEngine Namespace
Copyright (c) 2019 Kentico Software
Send comments on this topic to
support@kentico.com