Click or drag to resize
DocumentAttachment Constructor (IAttachment)
Initializes a new instance of the DocumentAttachment class with the specified attachment or attachment version.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public DocumentAttachment(
	IAttachment attachment
)

Parameters

attachment
Type: CMS.DocumentEngineIAttachment
The attachment or attachment version.
Exceptions
ExceptionCondition
ArgumentNullExceptionattachment is null.
ArgumentExceptionattachment is not an attachment or attachment version.
See Also