Share via


SPMenuField.MenuTemplateIdField property

Gets or sets the field name to use when setting the [MenuTemplateId] property of the underlying [Menu] control.

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

Syntax

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

value = instance.MenuTemplateIdField

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

Property value

Type: System.String
A string indicating the Id of the [MenuTemplate] control to be used.

See also

Reference

SPMenuField class

SPMenuField members

Microsoft.SharePoint.WebControls namespace