CategoryCollection Class

A collection of category objects.

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Client.CategoryCollection

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public sealed class CategoryCollection : IEnumerable<Category>, 
	IEnumerable

The CategoryCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of category objects in this collection.
Public propertyItem[Int32]Gets the category object at the specified index in this collection.
Public propertyItem[String]Gets the category in this collection that has the specified name.
Top

  NameDescription
Public methodContainsChecks whether this collection contains a category that has the specified name.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodExportExports the entire collection to an XML-formatted document.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodImport(String)Imports categories from the specified XML-formatted string.
Public methodImport(XmlElement)Imports categories from the specified XML document.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public eventImportEventHandlerEvent handler for events that occur during an import.
Top

  NameDescription
Explicit interface implemetationPrivate methodIEnumerable<Category>.GetEnumeratorGets an enumerator for this collection.
Explicit interface implemetationPrivate methodIEnumerable.GetEnumeratorGets an enumerator for this collection.
Top

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft