Partager 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)

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