UITestControlFactory.FromNativeElement, méthode
Espace de noms : Microsoft.VisualStudio.TestTools.UITesting
Assemblys : Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (dans Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Microsoft.VisualStudio.TestTools.UITesting (dans Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntaxe
'Déclaration
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
Paramètres
- nativeElement
Type : Object
- technologyName
Type : String
Valeur de retour
Type : Microsoft.VisualStudio.TestTools.UITesting.UITestControl
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, voir Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.