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

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