Click or drag to resize
TreeNodeChangeNodeDocumentType Method
Ensures changing the underlying database structure of a given document to the 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.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
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