Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FieldCollection Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a collection of Fields in a WorkItem object.

System.Object
  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)
public sealed class FieldCollection : ReadOnlyList

The FieldCollection type exposes the following members.

  NameDescription
Public propertyCountGets the number of Field objects in this collection. (Overrides ReadOnlyList.Count.)
Public propertyIsFixedSize Obsolete. (Inherited from ReadOnlyList.)
Public propertyIsReadOnly Obsolete. (Inherited from ReadOnlyList.)
Public propertyIsSynchronized Obsolete. (Inherited from ReadOnlyList.)
Public propertyItem[Int32]Gets the Field in this collection at the specified index.
Public propertyItem[String]Gets the Field in this collection that has the specified name or reference name.
Public propertyItem[CoreField]Gets the Field in this collection that is the specified CoreField member.
Public propertySyncRoot Obsolete. (Inherited from ReadOnlyList.)
Top
  NameDescription
Public methodContains(Int32)Checks whether this collection contains the Field that is specified by its ID.
Public methodContains(String)Checks whether this collection contains the Field that is specified by its name or reference name.
Public methodContains(Field)Checks whether this collection contains the specified Field.
Public methodCopyTo Obsolete. (Inherited from ReadOnlyList.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetByIdGets the Field in this collection that has the specified ID.
Public methodGetEnumerator (Inherited from ReadOnlyList.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodIndexOfGets the index of the specified Field.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodTryGetByIdGets the Field in this collection that has the specified ID.
Top
  NameDescription
Explicit interface implemetationPrivate methodIList.Add (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodIList.Clear (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodIList.Contains (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodICollection.CopyTo (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate propertyICollection.Count (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodIList.IndexOf (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodIList.Insert (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate propertyIList.IsFixedSize (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate propertyIList.IsReadOnly (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate propertyICollection.IsSynchronized (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate propertyIList.Item (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodIList.Remove (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate methodIList.RemoveAt (Inherited from ReadOnlyList.)
Explicit interface implemetationPrivate propertyICollection.SyncRoot (Inherited from ReadOnlyList.)
Top

A FieldCollection object is returned by the WorkItem.Fields property.

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