Click or drag to resize
AttachmentHistoryInfoProviderGetAttachmentHistories Method (String, String, Int32, String)
Gets all attachment histories.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static ObjectQuery<AttachmentHistoryInfo> GetAttachmentHistories(
	string where,
	string orderBy = null,
	int topN = 0,
	string columns = null
)

Parameters

where
Type: SystemString
Where condition
orderBy (Optional)
Type: SystemString
Order by clause
topN (Optional)
Type: SystemInt32
Number of records to return
columns (Optional)
Type: SystemString
Columns to select, null or empty returns all columns

Return Value

Type: ObjectQueryAttachmentHistoryInfo
Remarks
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