UITestControl Constructor (UITestControl)
Initializes a new instance of the UITestControl class and specifies the container for locating controls.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub New ( _
searchLimitContainer As UITestControl _
)
public UITestControl(
UITestControl searchLimitContainer
)
public:
UITestControl(
UITestControl^ searchLimitContainer
)
new :
searchLimitContainer:UITestControl -> UITestControl
public function UITestControl(
searchLimitContainer : UITestControl
)
Parameters
searchLimitContainer
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlThe container for locating controls.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.