UITestControl.GetChildren-Methode

Gibt eine Auflistung aller untergeordneten Elemente der ersten Ebene des aktuellen UITestControl zurück.

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

Syntax

'Declaration
Public Function GetChildren As UITestControlCollection
public UITestControlCollection GetChildren()
public:
UITestControlCollection^ GetChildren()
member GetChildren : unit -> UITestControlCollection 
public function GetChildren() : UITestControlCollection

Rückgabewert

Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
Eine Auflistung aller untergeordneten Elemente der ersten Ebene des aktuellen UITestControl.

.NET Framework-Sicherheit

Siehe auch

Referenz

UITestControl Klasse

Microsoft.VisualStudio.TestTools.UITesting-Namespace