Partager via


UIObject.WindowTitles Property

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

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Common.UIMap
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.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> with get
function get WindowTitles () : Collection<String>

Property Value

Type: Collection<String>
A collection of titles.

.NET Framework Security

See Also

Reference

UIObject Class

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace