SiteMapProvider.ResourceKey Property

Get or sets the resource key that is used for localizing SiteMapNode attributes.

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

public string ResourceKey { get; set; }
/** @property */
public String get_ResourceKey ()

/** @property */
public void set_ResourceKey (String value)

public function get ResourceKey () : String

public function set ResourceKey (value : String)

Not applicable.

Property Value

A string containing the resource key name.

The ResourceKey property is used with the GetImplicitResourceString method of the SiteMapNode class. For the Title and Description properties, as well as any additional attributes that are defined in the Attributes collection of the SiteMapNode object, the GetImplicitResourceString method takes precedence over the GetExplicitResourceString when the localization is enabled with the EnableLocalization property set to true.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: