Click or drag to resize
DocumentHelperGetAttachments Method
Gets attachments for given document filtered by the given parameters.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 9.0.0
Syntax
C#
public static DataSet GetAttachments(
	TreeNode node,
	string where,
	string orderBy,
	bool getBinary,
	TreeProvider tree,
	int topN = 0,
	string columns = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Document node
where
Type: SystemString
Where condition
orderBy
Type: SystemString
Order by expression
getBinary
Type: SystemBoolean
Indicates if binary data should be included
tree
Type: CMS.DocumentEngineTreeProvider
TreeProvider to use
topN (Optional)
Type: SystemInt32
Limits the number of returned items.
columns (Optional)
Type: SystemString
Columns to be selected

Return Value

Type: DataSet
See Also