Click or drag to resize
TreeNodeGetFieldAttachments 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: 9.0.0
Syntax
C#
protected IEnumerable<Attachment> GetFieldAttachments(
	string fieldName
)

Parameters

fieldName
Type: SystemString
The field name.

Return Value

Type: IEnumerableAttachment
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