Share via


ConsoleNode.AccessKey property

Gets or sets the access key of this ConsoleNode object.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
Public Property AccessKey As String
    Get
    Set
'Usage
Dim instance As ConsoleNode
Dim value As String

value = instance.AccessKey

instance.AccessKey = value
public string AccessKey { get; set; }

Property value

Type: System.String
The access key of this ConsoleNode object.

Remarks

Some controls, such as the PublishingMenu, allow a ConsoleNode to have an AccessKey that can be used as the top-level menu.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace