Click or drag to resize
DataClassFactoryNewDataClass Method (String, IDataContainer)
Constructor. Gets a class name and data row. Use it to load an existing item.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public static IDataClass NewDataClass(
	string className,
	IDataContainer data
)

Parameters

className
Type: SystemString
Class name in format application.class
data
Type: CMS.BaseIDataContainer
Data row representing the current item

Return Value

Type: IDataClass
See Also