Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TestCategoryItemCollection Class

 

Represents a collection of strings that categorize a test.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

System::Object
  Microsoft.VisualStudio.TestTools.Common::EqtBaseCollection<T>
    Microsoft.VisualStudio.TestTools.Common::TestCategoryItemCollection

[SerializableAttribute]
public ref class TestCategoryItemCollection sealed : EqtBaseCollection<TestCategoryItem^>

NameDescription
System_CAPS_pubmethodTestCategoryItemCollection()

Initializes a new instance of the TestCategoryItemCollection class.

System_CAPS_pubmethodTestCategoryItemCollection(array<String^>^)

Initializes a new instance of the TestCategoryItemCollection class by using the provided array of category names.

System_CAPS_pubmethodTestCategoryItemCollection(TestCategoryItemCollection^)

Initializes a new instance of the TestCategoryItemCollection class by using the items in the provided collection.

NameDescription
System_CAPS_pubpropertyCount

Gets the number of items in the collection.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubpropertyIsReadOnly

Gets a value that indicates whether the collection is read-only.(Inherited from EqtBaseCollection<T>.)

NameDescription
System_CAPS_pubmethodAdd(String^)

Adds the provided test category name to the collection.

System_CAPS_pubmethodAdd(TestCategoryItem^)

Adds the provided test category item to the collection.(Overrides EqtBaseCollection<T>::Add(T).)

System_CAPS_pubmethodClear()

Clears all items from the collection.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodClone()

Creates a copy of the collection.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodContains(T)

Returns a value that indicates whether the provided item is already in the collection.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodCopyTo(array<T>^, Int32)

Copies all items in the collection to the provided array, starting with the provided index.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodEquals(Object^)

Determines whether the provided object is equal to the current test category collection object.(Overrides Object::Equals(Object^).)

System_CAPS_pubmethodGetEnumerator()

Returns an IEnumerator object for iterating through the collection.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodGetHashCode()
System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodLoad(XmlElement^, XmlTestStoreParameters^)

Loads the current object from the provided XML element by using the provided parameters.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodRemove(T)

Removes the provided item from the collection, if the item exists.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodSave(XmlElement^, XmlTestStoreParameters^)

Saves the current object to the provided XML element using the provided parameters.(Inherited from EqtBaseCollection<T>.)

System_CAPS_pubmethodToArray()

Returns this object as an array of the test category names.

System_CAPS_pubmethodToString()

Returns the contents of this collection as a comma-delimited string of test category names.(Overrides Object::ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: