Click or drag to resize
AttachmentInfoProviderGetAttachments Method (Int32, Boolean)
Returns object query of attachments with specified document id.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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: ObjectQueryAttachmentInfo
See Also