This documentation is archived and is not being maintained.
FieldCollection Class
Visual Studio 2013
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
Microsoft.TeamFoundation.WorkItemTracking.Client.FieldCollection
Microsoft.TeamFoundation.WorkItemTracking.Common.ReadOnlyList
Microsoft.TeamFoundation.WorkItemTracking.Client.FieldCollection
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
The FieldCollection type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Count | Gets the number of Field objects in this collection. (Overrides ReadOnlyList.Count.) |
![]() | IsFixedSize | Obsolete. (Inherited from ReadOnlyList.) |
![]() | IsReadOnly | Obsolete. (Inherited from ReadOnlyList.) |
![]() | IsSynchronized | Obsolete. (Inherited from ReadOnlyList.) |
![]() | Item[Int32] | Gets the Field in this collection at the specified index. |
![]() | Item[String] | Gets the Field in this collection that has the specified name or reference name. |
![]() | Item[CoreField] | Gets the Field in this collection that is the specified CoreField member. |
![]() | SyncRoot | Obsolete. (Inherited from ReadOnlyList.) |
| Name | Description | |
|---|---|---|
![]() | Contains(Int32) | Checks whether this collection contains the Field that is specified by its ID. |
![]() | Contains(String) | Checks whether this collection contains the Field that is specified by its name or reference name. |
![]() | Contains(Field) | Checks whether this collection contains the specified Field. |
![]() | CopyTo | Obsolete. (Inherited from ReadOnlyList.) |
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() | GetById | Gets the Field in this collection that has the specified ID. |
![]() | GetEnumerator | (Inherited from ReadOnlyList.) |
![]() | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf | Gets the index of the specified Field. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | TryGetById | Gets the Field in this collection that has the specified ID. |
| Name | Description | |
|---|---|---|
![]() ![]() | IList.Add | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.Clear | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.Contains | (Inherited from ReadOnlyList.) |
![]() ![]() | ICollection.CopyTo | (Inherited from ReadOnlyList.) |
![]() ![]() | ICollection.Count | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.IndexOf | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.Insert | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.IsFixedSize | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.IsReadOnly | (Inherited from ReadOnlyList.) |
![]() ![]() | ICollection.IsSynchronized | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.Item | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.Remove | (Inherited from ReadOnlyList.) |
![]() ![]() | IList.RemoveAt | (Inherited from ReadOnlyList.) |
![]() ![]() | ICollection.SyncRoot | (Inherited from ReadOnlyList.) |
A FieldCollection object is returned by the WorkItem.Fields property.
Show:

