Sdílet prostřednictvím


UITestControlFactory.FromNativeElement – metoda

Vrátí nový UITestControl ze zadaného prvku nativní informace.

Obor názvů:  Microsoft.VisualStudio.TestTools.UITesting
Sestavení:  Microsoft.VisualStudio.TestTools.UITesting (v Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntaxe

'Deklarace
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

Parametry

Vrácená hodnota

Typ: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Nový UITestControl ze zadaného prvku nativní informace.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

UITestControlFactory Třída

Microsoft.VisualStudio.TestTools.UITesting – obor názvů