The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
QueryElement::Ancestor Property
Gets or sets the UI element that is the ancestor of this query element.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: property IUITechnologyElement^ Ancestor { virtual IUITechnologyElement^ get() sealed; virtual void set(IUITechnologyElement^ value) sealed; }
Property Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^The ancestor element.
Implements
IQueryElement::Ancestor
Show: