AttachmentInfoProviderGetAttachments Method (Int32, Boolean) |
Returns object query of attachments with specified document id.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax public static ObjectQuery<AttachmentInfo> GetAttachments(
int documentId,
bool getBinary
)
Parameters
- documentId
- Type: SystemInt32
Document id - getBinary
- Type: SystemBoolean
If false, no binary data is returned for the attachments
Return Value
Type:
ObjectQueryAttachmentInfoRemarks The IncludeBinaryData property and the BinaryData method don't load binary data
for attachments stored on the filesystem. To load binary data for attachments stored on the
filesystem, use the AttachmentBinary property of every record.
See Also