Uredi

Deli z drugimi prek


SiteMapNode.ResourceKey Property

Definition

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

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.

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