This documentation is archived and is not being maintained.

QueryElement.Ancestor Property

Gets or sets the UI element that is the ancestor of this query element.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

public IUITechnologyElement Ancestor { get; set; }

Implements

IQueryElement.Ancestor

Show: