Click or drag to resize
DocumentHelperGetAttachments Method (TreeNode, String, String, Boolean, TreeProvider, Int32, String)

Note: This API is now obsolete.

Gets attachments for given document filtered by the given parameters. Returns only attachments which are not variants.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 10.0.0
Syntax
C#
[ObsoleteAttribute("You can use GetAttachments(TreeNode, bool) instead")]
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