SiteMapNode.Key Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a string representing a lookup key for a site map node.
public:
property System::String ^ Key { System::String ^ get(); };
public string Key { get; }
member this.Key : string
Public ReadOnly Property Key As String
A string representing a lookup key.
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
.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: