Click or drag to resize
InfoProviderLoaderGetInfoProvider Method (String, Boolean)
Gets the loaded provider by its object type.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
Syntax
C#
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: IInfoProvider
See Also