UITestControlFactory.FromNativeElement Yöntem
Yeni bir fonksiyonu UITestControl belirtilen yerel öğe bilgileri.
Ad alanı: Microsoft.VisualStudio.TestTools.UITesting
Derleme: Microsoft.VisualStudio.TestTools.UITesting (Microsoft.VisualStudio.TestTools.UITesting.dll içinde)
Sözdizimi
'Bildirim
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
Parametreler
- nativeElement
Tür: System.Object
Yeni bir oluşturmak için kullanılacak yerel Element başvurusu UITestControl.
- technologyName
Tür: System.String
Yeni oluşturulurken kullanılacak teknoloji adı UITestControl.
Dönüş Değeri
Tür: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Yeni bir UITestControl belirtilen yerel öğe bilgileri.
.NET Framework Güvenliği
- Anında arayanlar için tam güven. Bu üye kısmen güvenilen kodla kullanılamaz. Daha fazla bilgi için bkz. Kısmen güvenilen kod kitaplıklarını kullanma.