DisplayFieldList Class

Represents a collection of WorkItem. FieldDefinitions that will be paged from the server when the WorkItems in a WorkItemCollection are accessed.

System.Object
  Microsoft.TeamFoundation.WorkItemTracking.Common.OrderedVariableSizeList
    Microsoft.TeamFoundation.WorkItemTracking.Client.DisplayFieldList

Namespace:  Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly:  Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)

public sealed class DisplayFieldList : OrderedVariableSizeList

The DisplayFieldList type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements in this collection. (Overrides OrderedVariableSizeList.Count.)
Public propertyIsFixedSize Obsolete. (Inherited from OrderedVariableSizeList.)
Public propertyIsReadOnly Obsolete. (Inherited from OrderedVariableSizeList.)
Public propertyIsSynchronized Obsolete. (Inherited from OrderedVariableSizeList.)
Public propertyItemGets or sets the FieldDefinition object at the specified index in the collection.
Public propertySyncRoot Obsolete. (Inherited from OrderedVariableSizeList.)
Top

  NameDescription
Public methodAdd(String)Adds a FieldDefinition object to this collection by its name.
Public methodAdd(FieldDefinition)Adds a FieldDefinition object to this collection at the next available index.
Public methodClearEmpties this collection. (Overrides OrderedVariableSizeList.Clear().)
Public methodContainsChecks whether the specified FieldDefinition object is located in this collection.
Public methodCopyTo Obsolete. (Inherited from OrderedVariableSizeList.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetEnumerator (Inherited from OrderedVariableSizeList.)
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 FieldDefinition.
Public methodIndexOfFieldIdGets the index in this collection of the specified FieldDefinition.
Public methodInsert(Int32, FieldDefinition)Inserts the specified FieldDefinition object into this collection at the specified index.
Public methodInsert(Int32, String)Inserts the FieldDefinition object that has the specified name into this collection at the specified index.
Public methodRemove(String)Removes the specified FieldDefinition object from this collection.
Public methodRemove(FieldDefinition)Removes the specified FieldDefinition object from this collection.
Public methodRemoveAtRemoves a FieldDefinition object at the position that is specified by the index in the collection. (Overrides OrderedVariableSizeList.RemoveAt(Int32).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

A DisplayFieldList is stored in the DisplayFields 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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft