Click or drag to resize
SettingsKeyInfoProviderGetSettingsKeys Method (Int32, SiteInfoIdentifier)
Returns a DataSet with all the keys for given site and category sorted by KeyDisplayName. If site is not specified, only the global settings are loaded.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public static ObjectQuery<SettingsKeyInfo> GetSettingsKeys(
	int categoryId,
	SiteInfoIdentifier siteIdentifier = null
)

Parameters

categoryId
Type: SystemInt32
Settings category ID
siteIdentifier (Optional)
Type: CMS.DataEngineSiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information

Return Value

Type: ObjectQuerySettingsKeyInfo
See Also