Click or drag to resize
TreeProviderSelectSingleDocument 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: 12.0.0
Syntax
C#
public virtual TreeNode SelectSingleDocument(
	int documentId,
	bool coupledData = true,
	string columns = null
)

Parameters

documentId
Type: SystemInt32
Document ID
coupledData (Optional)
Type: SystemBoolean
If true, coupled data are also returned
columns (Optional)
Type: SystemString
Columns to be selected

Return Value

Type: TreeNode
See Also