CategoryCollection Class
A collection of category objects.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Client.CategoryCollection
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
‘선언
Public NotInheritable Class CategoryCollection _
Implements IEnumerable(Of Category), IEnumerable
public sealed class CategoryCollection : IEnumerable<Category>,
IEnumerable
public ref class CategoryCollection sealed : IEnumerable<Category^>,
IEnumerable
[<Sealed>]
type CategoryCollection =
class
interface IEnumerable<Category>
interface IEnumerable
end
public final class CategoryCollection implements IEnumerable<Category>, IEnumerable
The CategoryCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of category objects in this collection. | |
Item[Int32] | Gets the category object at the specified index in this collection. | |
Item[String] | Gets the category in this collection that has the specified name. |
Top
Methods
Name | Description | |
---|---|---|
Contains | Checks whether this collection contains a category that has the specified name. | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Export | Exports the entire collection to an XML-formatted document. | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Import(String) | Imports categories from the specified XML-formatted string. | |
Import(XmlElement) | Imports categories from the specified XML document. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
ImportEventHandler | Event handler for events that occur during an import. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable<Category>.GetEnumerator | Gets an enumerator for this collection. | |
IEnumerable.GetEnumerator | Gets an enumerator for this collection. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.