SiteMapNode.ResourceKey Property


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

 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.


The node is read-only.


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