BaseAbstractInfoProvider GetInfoByName Method (String, String, Int32, Boolean)Kentico 8.0 API Reference
Gets the info by its type and code name from the appropriate provider.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

objectType
Type: OnlineSystem String
Object type
name
Type: OnlineSystem String
Name of the object
siteId
Type: OnlineSystem Int32
Site ID
exceptionIfObjTypeNotFound (Optional)
Type: OnlineSystem Boolean
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: BaseInfo
See Also