TreeNodeGetFieldDocumentAttachments Method |
Retrieves an enumerable collection of attachments associated with the specified field of type Attachments.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax protected IEnumerable<DocumentAttachment> GetFieldDocumentAttachments(
string fieldName
)
Parameters
- fieldName
- Type: SystemString
The field name.
Return Value
Type:
IEnumerableDocumentAttachmentAn enumerable collection of attachments associated with the specified field of type Attachments.
Exceptions Exception | Condition |
---|
ArgumentNullException | fieldName is null. |
Remarks
This method returns an empty collection if the specified field does not exist or there are no associated attachments.
See Also