SPMenuField.TokenNameAndValueFields property

Gets or sets a comma-separated list of token names and field names to be used when setting the TokenNameAndValue property of the underlying Menu control.

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

Syntax

'Declaration
Public Property TokenNameAndValueFields As String
    Get
    Set
'Usage
Dim instance As SPMenuField
Dim value As String

value = instance.TokenNameAndValueFields

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

Property value

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

Remarks

The format of this string is "TOKEN1=FieldName1;TOKEN2=Field Name 2".

See also

Reference

SPMenuField class

SPMenuField members

Microsoft.SharePoint.WebControls namespace