Information
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.

UITestControlCollection.Insert Method (Int32, UITestControl)

 

Inserts a UITestControl into the UITestControlCollection at the specified index.

Namespace:   Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

public void Insert(
	int index,
	UITestControl control
)

Parameters

index
Type: System.Int32

The zero-based index at which control should be inserted.

control
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControl

The UITestControl to insert.

Return to top
Show: