Click or drag to resize
ModuleManagerGetObject Method (String, Boolean)
Gets a new object of the given type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
public static BaseInfo GetObject(
	string objectType,
	bool throwIfNotFound = false
)

Parameters

objectType
Type: SystemString
Object type
throwIfNotFound (Optional)
Type: SystemBoolean
If true, the method throws an exception in case the object type was not found

Return Value

Type: BaseInfo
See Also