Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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)
Syntax
'Declaration
Protected Overridable Function AddAccessKey ( _
navigation As MobileControl _
) As MobileControl
'Usage
Dim navigation As MobileControl
Dim returnValue As MobileControl
returnValue = Me.AddAccessKey(navigation)
protected virtual MobileControl AddAccessKey(
MobileControl navigation
)
Parameters
navigation
Type: System.Web.UI.MobileControls.MobileControlA MobileControl object for which the.AccessKey property becomes the access key.
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.
Remarks
Typically, the SPMobileNavigation object passes a child control to the AddAccessKey method as part of the CreateChildControls method.