InfoProviderLoaderGetInfoProvider Method (String, Boolean) |
Gets the loaded provider by its object type.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static IInfoProvider GetInfoProvider(
string objectType,
bool exceptionIfNotFound = true
)
Parameters
- objectType
- Type: SystemString
Provider object type - exceptionIfNotFound (Optional)
- Type: SystemBoolean
If true, an exception is thrown if the provider is not found. If false, the null is returned if provider is not found
Return Value
Type:
IInfoProviderSee Also