UITestControlCollection.Insert Method
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Sub Insert ( _
index As Integer, _
control As UITestControl _
)
public void Insert(
int index,
UITestControl control
)
public:
void Insert(
int index,
UITestControl^ control
)
member Insert :
index:int *
control:UITestControl -> unit
public function Insert(
index : int,
control : UITestControl
)
Parameters
- index
Type: Int32
- control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl
.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.