Menu.TokenNamesAndValues Property
Gets the token name and value pairs to use for the current menu.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public ReadOnly Property TokenNamesAndValues As Dictionary(Of String, String)
Get
'Usage
Dim instance As Menu
Dim value As Dictionary(Of String, String)
value = instance.TokenNamesAndValues
public Dictionary<string, string> TokenNamesAndValues { get; }
Property Value
Type: System.Collections.Generic.Dictionary<String, String>
The token name and value pairs.
Remarks
The client-side ECMA script that provides the implementation of the menus in a browser supports client-side token replacement using values from a menu. The MenuItemTemplate objects used in the MenuTemplate object support the use of these tokens in the ClientOnClickScript or ClientOnClickhref properties.