SPMobileNavigation.AddAccessKey Method

Registers the value of the AccessKey property as the access key for the specified control.

Namespace:  Microsoft.SharePoint.MobileControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)


Protected Overridable Function AddAccessKey ( _
    navigation As MobileControl _
) As MobileControl
Dim navigation As MobileControl
Dim returnValue As MobileControl

returnValue = Me.AddAccessKey(navigation)
protected virtual MobileControl AddAccessKey(
    MobileControl navigation


Return Value

Type: System.Web.UI.MobileControls.MobileControl
A MobileControl object that is identical to the navigation parameter except that it now has a custom attribute identifying the AccessKey property as its access key.


Typically, the SPMobileNavigation object passes a child control to the AddAccessKey method as part of the CreateChildControls method.

See Also


SPMobileNavigation Class

SPMobileNavigation Members

Microsoft.SharePoint.MobileControls Namespace