UITestControlCollection.Add Method
Adds a UITestControl to the end of the UITestControlCollection.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub Add ( _
item As UITestControl _
)
public void Add(
UITestControl item
)
public:
virtual void Add(
UITestControl^ item
) sealed
abstract Add :
item:UITestControl -> unit
override Add :
item:UITestControl -> unit
public final function Add(
item : UITestControl
)
Parameters
item
Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlThe UITestControl to add to the end of the UITestControlCollection.
Implements
ICollection.Add(UTP)
.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.