The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITestControlFactory::FromNativeElement Method (Object^, String^)
Returns a new UITestControl from the specified native element information.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: static UITestControl^ FromNativeElement( Object^ nativeElement, String^ technologyName )
Parameters
- nativeElement
-
Type:
System::Object^
The Native Element reference to use to create a new UITestControl.
- technologyName
-
Type:
System::String^
The Technology Name to use when creating a new UITestControl.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting::UITestControl^A new UITestControl from the specified native element information.
Show: