Share via


Menu.IsParent property

Gets a value indicating whether this menu contains any menu items. This property is read-only.

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

Syntax

'Declaration
Public ReadOnly Property IsParent As Boolean
    Get
'Usage
Dim instance As Menu
Dim value As Boolean

value = instance.IsParent
public bool IsParent { get; }

Property value

Type: System.Boolean
true if there are menu items; otherwise, false.

Remarks

To view a code example that demonstrates how to use the IsParent property, see the Menu topic.

See also

Reference

Menu class

Menu members

Microsoft.SharePoint.WebPartPages namespace