Share via


UITestControl.WindowTitles Property

Gets a collection of the window titles of the top-level window.

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

Syntax

'Declaration
Public ReadOnly Property WindowTitles As Collection(Of String)
public Collection<string> WindowTitles { get; }
public:
property Collection<String^>^ WindowTitles {
    Collection<String^>^ get ();
}
member WindowTitles : Collection<string>
function get WindowTitles () : Collection<String>

Property Value

Type: System.Collections.ObjectModel.Collection<String>
A collection of the window titles of the top-level window.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace