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