AttachmentInfoProviderGetAttachments Method (String, String, Boolean, Int32, String) |
Returns object query of all attachments filtered by where condition.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax 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:
ObjectQueryAttachmentInfoSee Also