Click or drag to resize
TreeNodeGetFieldDocumentAttachments Method
Retrieves an enumerable collection of attachments associated with the specified field of type Attachments.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
protected IEnumerable<DocumentAttachment> GetFieldDocumentAttachments(
	string fieldName
)

Parameters

fieldName
Type: SystemString
The field name.

Return Value

Type: IEnumerableDocumentAttachment
An enumerable collection of attachments associated with the specified field of type Attachments.
Exceptions
ExceptionCondition
ArgumentNullExceptionfieldName is null.
Remarks
This method returns an empty collection if the specified field does not exist or there are no associated attachments.
See Also