Share via


WinMenuItem.HasChildNodes Property

Gets or sets a value that indicates whether this menu item has child nodes.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting.WinControls
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Overridable ReadOnly Property HasChildNodes As Boolean
public virtual bool HasChildNodes { get; }
public:
virtual property bool HasChildNodes {
    bool get ();
}
abstract HasChildNodes : bool
override HasChildNodes : bool
function get HasChildNodes () : boolean

Property Value

Type: System.Boolean
true if this menu item has child nodes; otherwise, false.

.NET Framework Security

See Also

Reference

WinMenuItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace