Share via


Menu.HiddenMenuItemIds Property

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

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.HiddenMenuItemIds

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

Property Value

Type: System.String
The identifiers.

Exceptions

Exception Condition
InvalidOperationException

HiddenMenuItemIds 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 HiddenMenuItems property.

See Also

Reference

Menu Class

Menu Members

Microsoft.SharePoint.WebControls Namespace