Click or drag to resize
SettingsKeyInfoProvider.GetURLValue Method (String, SiteInfoIdentifier, String)
Gets the URL value from settings.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
public static string GetURLValue(
	string keyName,
	SiteInfoIdentifier siteIdentifier,
	string defaultUrl
)

Parameters

keyName
Type: System.String
Key name
siteIdentifier
Type: CMS.DataEngine.SiteInfoIdentifier
Site identifier (site ID or site name), see SiteInfoIdentifier and InfoIdentifier for more information
defaultUrl
Type: System.String
Default URL

Return Value

Type: String
Remarks
If the DevelopmentMode is true and if keyName is not found InvalidOperationException is thrown instead.
See Also