AbstractInfoProviderTInfo, TProvider, TQueryGetInfoByCodeName Method (String, Int32, Int32, Boolean) |
Gets an instance of info object based on the given code name.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax protected virtual TInfo GetInfoByCodeName(
string codeName,
int siteId,
int groupId = 0,
bool useHashtable = true
)
Parameters
- codeName
- Type: SystemString
Code name - siteId
- Type: SystemInt32
Site ID - groupId (Optional)
- Type: SystemInt32
Group ID - useHashtable (Optional)
- Type: SystemBoolean
If true, the object is taken through the hashtable
Return Value
Type:
TInfoSee Also