TreeNodeNewNodeType Method (String, DataRow, TreeProvider) |
Creates new instance of given class which must inherit specified node type and fill it with given data.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax public static NodeType New<NodeType>(
string className,
DataRow dataRow,
TreeProvider treeProvider
)
where NodeType : new(), TreeNode
Parameters
- className
- Type: SystemString
Class name in format application.class - dataRow
- Type: System.DataDataRow
Data row containing both tree node and coupled data - treeProvider
- Type: CMS.DocumentEngineTreeProvider
Tree provider used to access data
Type Parameters
- NodeType
Return Value
Type:
NodeTypeSee Also