Represents a collection of WorkItemType objects.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
    Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemTypeCollection
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
声明
Public NotInheritable Class WorkItemTypeCollection _
    Inherits ReadOnlyList
public sealed class WorkItemTypeCollection : ReadOnlyList
public ref class WorkItemTypeCollection sealed : public ReadOnlyList
[<Sealed>]
type WorkItemTypeCollection =  
    class
        inherit ReadOnlyList
    end
public final class WorkItemTypeCollection extends ReadOnlyList
The WorkItemTypeCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of WorkItemType objects in this collection. (Overrides ReadOnlyList.Count.) | 
| .gif) | IsFixedSize | Obsolete. (Inherited from ReadOnlyList.) | 
| .gif) | IsReadOnly | Obsolete. (Inherited from ReadOnlyList.) | 
| .gif) | IsSynchronized | Obsolete. (Inherited from ReadOnlyList.) | 
| .gif) | Item[Int32] | Gets the WorkItemType object at the specified index in this collection. | 
| .gif) | Item[String] | Gets the WorkItemType object in this collection that has the specified name. | 
| .gif) | SyncRoot | Obsolete. (Inherited from ReadOnlyList.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Contains(String) | Checks whether a WorkItemType that has the specified name occurs in this collection. | 
| .gif) | Contains(WorkItemType) | Checks whether the specified WorkItemType instance occurs in this collection. | 
| .gif) | CopyTo | Obsolete. (Inherited from ReadOnlyList.) | 
| .gif) | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | 
| .gif) | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | 
| .gif) | GetEnumerator | (Inherited from ReadOnlyList.) | 
| .gif) | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | 
| .gif) | GetItem | (Inherited from ReadOnlyList.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | Import(String) | Imports a WorkItemType that is defined in the specified XML and adds it to this collection. | 
| .gif) | Import(XmlElement) | Imports a WorkItemType defined in the specified XML and adds it to this collection. | 
| .gif) | Import(String, String) | Imports a WorkItemType that is defined in the specified XML and adds it to this collection. The specified methodology is used to resolve field conflicts. | 
| .gif) | Import(XmlElement, String) | Imports a WorkItemType that is defined in the specified XML and adds it to this collection. The specified methodology name is used to resolve field conflicts. | 
| .gif) | IndexOf | Gets the index of the specified WorkItemType in this collection. | 
| .gif) | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
Top
Events
| Name | Description | |
|---|---|---|
| .gif) | ImportEventHandler | The event handler for events that occur during an import call. | 
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| .gif) .gif) | IList.Add | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.Clear | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.Contains | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | ICollection.CopyTo | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | ICollection.Count | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.IndexOf | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.Insert | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.IsFixedSize | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.IsReadOnly | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | ICollection.IsSynchronized | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.Item | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.Remove | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | IList.RemoveAt | (Inherited from ReadOnlyList.) | 
| .gif) .gif) | ICollection.SyncRoot | (Inherited from ReadOnlyList.) | 
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.