Partager via


WinTreeItem.HasChildNodes Property

Gets a value that indicates whether this tree item has child items.

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 with get 
override HasChildNodes : bool with get
function get HasChildNodes () : boolean

Property Value

Type: Boolean
true if this tree item has child items; otherwise, false.

.NET Framework Security

See Also

Reference

WinTreeItem Class

Microsoft.VisualStudio.TestTools.UITesting.WinControls Namespace