Menu.DisabledMenuItemIds property

Gets or sets the identifiers of the MenuItemTemplate controls to be disabled.

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

Syntax

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

value = instance.DisabledMenuItemIds

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

Property value

Type: System.String
The identifiers.

Exceptions

Exception Condition
InvalidOperationException

DisabledMenuItemIds is set with a string that contains the identifier of one or more controls that do not exist within the scope of the current naming container.

Remarks

This property is a wrapper around the DisabledMenuItems property.

See also

Reference

Menu class

Menu members

Microsoft.SharePoint.WebControls namespace