Partilhar via


Menu.TokenValues Property

Gets or sets the list of token names and values by using a string containing the concatenated list of name/value pairs.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property TokenValues As String
    Get
    Set
'Usage
Dim instance As Menu
Dim value As String

value = instance.TokenValues

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

Property Value

Type: System.String
The list of token names and values.

Remarks

This property is simply a wrapper around the TokenNamesAndValues and SystemTokenNamesAndValues properties. Setting this property with a new value will affect only the TokenNamesAndValues property. The SystemTokenNamesAndValues collection will remain unchanged. Note that this property has the same limitations as the SystemTokenNamesAndValues property, where the system names and values are not available until after the Render(HtmlTextWriter) method has been started. Also note that this property treats certain name/value pairs in such a way that the value returned by this property may not exactly match the value set.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace