UITestControlFactory.FromNativeElement (Método)

Devuelve un nuevo objeto UITestControl a partir de la información del elemento nativo especificado.

Espacio de nombres:  Microsoft.VisualStudio.TestTools.UITesting
Ensamblado:  Microsoft.VisualStudio.TestTools.UITesting (en Microsoft.VisualStudio.TestTools.UITesting.dll)

Sintaxis

'Declaración
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

Parámetros

Valor devuelto

Tipo: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Un nuevo objeto UITestControl creado a partir de la información del elemento nativo especificado.

Seguridad de .NET Framework

Vea también

Referencia

UITestControlFactory Clase

Microsoft.VisualStudio.TestTools.UITesting (Espacio de nombres)