TestCategoryItemCollection.Add Method (TestCategoryItem)
Adds the provided test category item to the collection.
Namespace: Microsoft.VisualStudio.TestTools.Common
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
Syntax
'Declaration
Public Overrides Sub Add ( _
item As TestCategoryItem _
)
public override void Add(
TestCategoryItem item
)
public:
virtual void Add(
TestCategoryItem^ item
) override
abstract Add :
item:TestCategoryItem -> unit
override Add :
item:TestCategoryItem -> unit
public override function Add(
item : TestCategoryItem
)
Parameters
- item
Type: Microsoft.VisualStudio.TestTools.Common.TestCategoryItem
A TestCategoryItemCollection object.
Implements
.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.