SiteMapNode.Key Property

Note: This property is new in the .NET Framework version 2.0.

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

Namespace: System.Web
Assembly: System.Web (in system.web.dll)

public:
property String^ Key {
	String^ get ();
}
/** @property */
public String get_Key ()

public function get Key () : String

Property Value

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 a null reference (Nothing in Visual Basic).

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: