SiteMapProvider.ResourceKey Property

Note: This property is new in the .NET Framework version 2.0.

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)

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 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions