Click or drag to resize
TreeNodeGetFieldAttachments Method

Note: This API is now obsolete.

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#
[ObsoleteAttribute("Use GetFieldDocumentAttachments().")]
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