UITestControlCollection.Add 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 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
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.