TestCategoryItemCollection.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(TestCategoryItem) |
Adds the provided test category item to the collection. |
Add(String) |
Adds the provided test category name to the collection. |
Add(TestCategoryItem)
Adds the provided test category item to the collection.
public:
override void Add(Microsoft::VisualStudio::TestTools::Common::TestCategoryItem ^ item);
public override void Add (Microsoft.VisualStudio.TestTools.Common.TestCategoryItem item);
override this.Add : Microsoft.VisualStudio.TestTools.Common.TestCategoryItem -> unit
Public Overrides Sub Add (item As TestCategoryItem)
Parameters
- item
- TestCategoryItem
A TestCategoryItemCollection object.
Applies to
Add(String)
Adds the provided test category name to the collection.
public:
void Add(System::String ^ item);
public void Add (string item);
override this.Add : string -> unit
Public Sub Add (item As String)
Parameters
- item
- String
The name of a test category.