ProviderHelperGetInfoByName Method (String, String, Boolean) |
Gets the info by its type and code name from the appropriate provider.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax public static BaseInfo GetInfoByName(
string objectType,
string name,
bool exceptionIfObjTypeNotFound = false
)
Parameters
- objectType
- Type: SystemString
Object type - name
- Type: SystemString
Name of the object - exceptionIfObjTypeNotFound (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:
BaseInfoSee Also