Describes a collection of FieldDefinition objects.
Inheritance Hierarchy
System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
    Microsoft.TeamFoundation.WorkItemTracking.Client.FieldDefinitionCollection
Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaration
Public NotInheritable Class FieldDefinitionCollection _
    Inherits ReadOnlyList
public sealed class FieldDefinitionCollection : ReadOnlyList
public ref class FieldDefinitionCollection sealed : public ReadOnlyList
[<Sealed>]
type FieldDefinitionCollection =  
    class 
        inherit ReadOnlyList 
    end
public final class FieldDefinitionCollection extends ReadOnlyList
The FieldDefinitionCollection type exposes the following members.
Properties
| Name | Description | |
|---|---|---|
| .gif) | Count | Gets the number of FieldDefinition objects that exist 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 field definition at the specified index. | 
| .gif) | Item[String] | Gets the field definition that has the specified name. | 
| .gif) | Item[CoreField] | Gets the field definition at the specified CoreField ID. | 
| .gif) | SyncRoot | Obsolete. (Inherited from ReadOnlyList.) | 
Top
Methods
| Name | Description | |
|---|---|---|
| .gif) | Contains(Int32) | Checks whether a field definition that has the specified ID exists in this collection. | 
| .gif) | Contains(String) | Checks whether a field definition that has the specified name exists in this collection. | 
| .gif) | Contains(FieldDefinition) | Checks whether this collection contains the specified FieldDefinition object. | 
| .gif) | CopyTo | Obsolete. (Inherited from ReadOnlyList.) | 
| .gif) | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | 
| .gif) | GetById | Gets the FieldDefinition object that has the specified ID. | 
| .gif) | GetEnumerator | (Inherited from ReadOnlyList.) | 
| .gif) | GetHashCode | Serves as the default hash function. (Inherited from Object.) | 
| .gif) | GetType | Gets the Type of the current instance. (Inherited from Object.) | 
| .gif) | IndexOf | Gets the index of the specified FieldDefinition object in this collection. | 
| .gif) | ToString | Returns a string that represents the current object. (Inherited from Object.) | 
| .gif) | TryGetById | Gets the FieldDefinition object that has the specified ID. | 
| .gif) | TryGetByName | Gets the FieldDefinition object that has the specified name. | 
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.