ModuleManagerGetReadOnlyObject Method (String, Boolean) |
Gets the cached object instance of given type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax 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:
BaseInfoSee Also