Click or drag to resize
TreeProvider.SelectSingleDocument Method (Int32, Boolean, String)
Returns single node specified by document ID. If the result is a link to another document original document is returned instead.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public virtual TreeNode SelectSingleDocument(
	int documentId,
	bool coupledData = true,
	string columns = null
)

Parameters

documentId
Type: System.Int32
Document ID
coupledData (Optional)
Type: System.Boolean
If true, coupled data are also returned
columns (Optional)
Type: System.String
Columns to be selected

Return Value

Type: TreeNode
See Also