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)
Available in Sandboxed Solutions: No

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