SiteMapProvider.ResourceKey Property

Definition

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

C#
public string ResourceKey { get; set; }

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

Produkt Verzie
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also