Share via


UIObject.Descendants Property

Gets a collection of all UI objects that are contained within this UI object.

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 Descendants As Collection(Of UIObject)
public Collection<UIObject> Descendants { get; }
public:
property Collection<UIObject^>^ Descendants {
    Collection<UIObject^>^ get ();
}
member Descendants : Collection<UIObject>
function get Descendants () : Collection<UIObject>

Property Value

Type: System.Collections.ObjectModel.Collection<UIObject>
The collection of UI objects.

.NET Framework Security

See Also

Reference

UIObject Class

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