AttachmentInfoProviderGetAttachments Method (String, String, Boolean, Int32, String) |
Note: This API is now obsolete.
Returns object query of all attachments filtered by where condition.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax [ObsoleteAttribute("Use GetAttachments() instead.")]
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:
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