Condividi tramite


Metodo UITestControlFactory.FromNativeElement

restituisce un nuovo UITestControl le informazioni native specifiche dell'elemento.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintassi

'Dichiarazione
Public Shared Function FromNativeElement ( _
    nativeElement As Object, _
    technologyName As String _
) As UITestControl
public static UITestControl FromNativeElement(
    Object nativeElement,
    string technologyName
)
public:
static UITestControl^ FromNativeElement(
    Object^ nativeElement, 
    String^ technologyName
)
static member FromNativeElement : 
        nativeElement:Object * 
        technologyName:string -> UITestControl 
public static function FromNativeElement(
    nativeElement : Object, 
    technologyName : String
) : UITestControl

Parametri

Valore restituito

Tipo: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
un nuovo UITestControl le informazioni native specifiche dell'elemento.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

UITestControlFactory Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UITesting