TestCategoryItemCollection.Add Method (String)
Adds the provided test category name to the collection.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Sub Add ( _
item As String _
)
public void Add(
string item
)
public:
void Add(
String^ item
)
member Add :
item:string -> unit
public function Add(
item : String
)
Parameters
item
Type: StringThe name of a test category.
.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.