Click or drag to resize
ModuleManagerGetReadOnlyObject Method (String, Boolean)
Gets the cached object instance of given type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static BaseInfo GetReadOnlyObject(
	string objectType,
	bool exceptionIfNotFound
)

Parameters

objectType
Type: SystemString
Object type
exceptionIfNotFound
Type: SystemBoolean
If true, an exception is fired if the given object type is not found

Return Value

Type: BaseInfo
See Also