TreeProviderSelectSingleDocumentNodeType 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.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax protected virtual NodeType SelectSingleDocument<NodeType>(
int documentId,
bool coupledData,
string columns
)
where NodeType : new(), TreeNode
Parameters
- documentId
- Type: SystemInt32
Document ID - coupledData
- Type: SystemBoolean
Indicates whether coupled data should be contained in the result. - columns
- Type: SystemString
Columns to be selected
Type Parameters
- NodeType
Return Value
Type:
NodeTypeSee Also