TreeNodeChangeNodeDocumentType Method |
Ensures changing the underlying database structure of a given document to its document type.
Changes only the published data of the document type (CMS_Document and coupled data). Fills missing values with the data from given document node.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public static void ChangeNodeDocumentType(
TreeNode node,
string originalClassName
)
Parameters
- node
- Type: CMS.DocumentEngineTreeNode
Document node to change with new data - originalClassName
- Type: SystemString
Original class name of the document
See Also