TreeProviderGetDocumentNodeType Method (IDataContainer, TreeProvider) |
Creates document from given data.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntaxpublic static NodeType GetDocument<NodeType>(
IDataContainer data,
TreeProvider tree
)
where NodeType : new(), TreeNode
Parameters
- data
- Type: CMS.BaseIDataContainer
Node data - tree
- Type: CMS.DocumentEngineTreeProvider
Tree provider for the new document
Type Parameters
- NodeType
Return Value
Type:
NodeType
See Also