Edit

Share via


SiteMapNode.ResourceKey Property

Definition

Gets or sets the resource key that is used to localize the SiteMapNode.

public string ResourceKey { get; set; }

Property Value

A string containing the resource key name.

Exceptions

The node is read-only.

Remarks

Using the set accessor of the ResourceKey property when the ReadOnly property is true will result in an InvalidOperationException exception. To set the ResourceKey for a SiteMapNode object, use the SiteMapNode constructor.

Applies to

See also