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> with get
function get Descendants () : Collection<UIObject>
Property Value
Type: Collection<UIObject>
The collection of UI objects.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace