TreeNodeGetFieldAttachment Method |
Note: This API is now obsolete.
Retrieves the attachment associated with the specified field of type File.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use GetFieldDocumentAttachment().")]
protected Attachment GetFieldAttachment(
string fieldName
)
Parameters
- fieldName
- Type: SystemString
The field name.
Return Value
Type:
AttachmentThe attachment associated with the specified field, if found; otherwise, null.
Exceptions Remarks
This method returns null if the specified field does not exist or there is no associated attachment.
See Also