Click or drag to resize
AttachmentInfoProviderGetAttachments Method (String, String, Boolean, Int32, String)
Returns object query of all attachments filtered by where condition.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static ObjectQuery<AttachmentInfo> GetAttachments(
	string whereCondition,
	string orderBy = null,
	bool getBinary = true,
	int topN = 0,
	string columns = null
)

Parameters

whereCondition
Type: SystemString
Where condition statement
orderBy (Optional)
Type: SystemString
Order by statement
getBinary (Optional)
Type: SystemBoolean
If false, no binary data is returned for the attachments
topN (Optional)
Type: SystemInt32
Top N attachments
columns (Optional)
Type: SystemString
Selected columns

Return Value

Type: ObjectQueryAttachmentInfo
See Also