Proprietà IQueryElement.Ancestor
Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.
ottiene o imposta il predecessore di questo elemento Query.
Spazio dei nomi: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Sintassi
'Dichiarazione
Property Ancestor As IUITechnologyElement
IUITechnologyElement Ancestor { get; set; }
property IUITechnologyElement^ Ancestor {
IUITechnologyElement^ get ();
void set (IUITechnologyElement^ value);
}
abstract Ancestor : IUITechnologyElement with get, set
function get Ancestor () : IUITechnologyElement
function set Ancestor (value : IUITechnologyElement)
Valore proprietà
Tipo: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement
l'elemento predecessore.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.VisualStudio.TestTools.UITest.Extension