TreeNodeGetFieldDocumentAttachment Method |
Retrieves the attachment associated with the specified field of type File.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax protected DocumentAttachment GetFieldDocumentAttachment(
string fieldName
)
Parameters
- fieldName
- Type: SystemString
The field name.
Return Value
Type:
DocumentAttachmentThe attachment associated with the specified field, if found; otherwise, null.
Exceptions Exception | Condition |
---|
ArgumentNullException | fieldName is null. |
Remarks
This method returns null if the specified field does not exist or there is no associated attachment.
See Also