SiteMapNode.Key Property

Definition

Gets a string representing a lookup key for a site map node.

public string Key { get; }

Property Value

A string representing a lookup key.

Remarks

Internally, site navigation classes can use this lookup key when searching for site map nodes, as well as for establishing relationships between nodes. The SiteMapProvider class also exposes the FindSiteMapNodeFromKey method as a means for getting a reference to a SiteMapNode object that matches the key value.

The specific value that is used for the key is provider specific; however, it is guaranteed to not be null.

Applies to

Product Versions
.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