Click or drag to resize
ObjectTypeManagerRegisterObjectType Method
Registers the object type

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static void RegisterObjectType(
	string objectType,
	ObjectTypeInfo typeInfo,
	Type type
)

Parameters

objectType
Type: SystemString
Object type to be registered.
typeInfo
Type: CMS.DataEngineObjectTypeInfo
TypeInfo configuration of the registered object type.
type
Type: SystemType
Type to be registered.
Exceptions
ExceptionCondition
ArgumentExceptionThrown when object type is either null or empty.
ArgumentNullExceptionThrown when either type info or type is null.
See Also