AttachmentExtensionsGenerateVariant Method |
Namespace: CMS.DocumentEngine
public static AttachmentInfo GenerateVariant( this AttachmentInfo attachment, IVariantContext context, string definitionIdentifier )
Exception | Condition |
---|---|
ArgumentNullException | Thrown when either of the parameters are null. |
ArgumentException | Thrown when definitionIdentifier is empty. |