Edit

Share via


SiteMapProvider.ResourceKey Property

Definition

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

public:
 property System::String ^ ResourceKey { System::String ^ get(); void set(System::String ^ value); };
public string ResourceKey { get; set; }
member this.ResourceKey : string with get, set
Public Property ResourceKey As String

Property Value

A string containing the resource key name.

Remarks

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.

Applies to

See also