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