Click or drag to resize
AbstractInfoProviderTInfo, TProvider, TQueryGetInfoByCodeName Method (String, Int32)
Gets an instance of info object based on the given code name.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
protected virtual TInfo GetInfoByCodeName(
	string codeName,
	int siteId
)

Parameters

codeName
Type: SystemString
Code name
siteId
Type: SystemInt32
Site ID

Return Value

Type: TInfo
See Also