Delen via


DisplayFieldList Class

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

Inheritance Hierarchy

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)

Syntax

'Declaration
Public NotInheritable Class DisplayFieldList _
    Inherits OrderedVariableSizeList
public sealed class DisplayFieldList : OrderedVariableSizeList
public ref class DisplayFieldList sealed : public OrderedVariableSizeList
[<Sealed>]
type DisplayFieldList =  
    class 
        inherit OrderedVariableSizeList 
    end
public final class DisplayFieldList extends OrderedVariableSizeList

The DisplayFieldList type exposes the following members.

Properties

  Name Description
Public property Count Gets the number of elements in this collection. (Overrides OrderedVariableSizeList.Count.)
Public property IsFixedSize Obsolete. (Inherited from OrderedVariableSizeList.)
Public property IsReadOnly Obsolete. (Inherited from OrderedVariableSizeList.)
Public property IsSynchronized Obsolete. (Inherited from OrderedVariableSizeList.)
Public property Item Gets or sets the FieldDefinition object at the specified index in the collection.
Public property SyncRoot Obsolete. (Inherited from OrderedVariableSizeList.)

Top

Methods

  Name Description
Public method Add(String) Adds a FieldDefinition object to this collection by its name.
Public method Add(FieldDefinition) Adds a FieldDefinition object to this collection at the next available index.
Public method Clear Empties this collection. (Overrides OrderedVariableSizeList.Clear().)
Public method Contains Checks whether the specified FieldDefinition object is located in this collection.
Public method CopyTo Obsolete. (Inherited from OrderedVariableSizeList.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetEnumerator (Inherited from OrderedVariableSizeList.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IndexOf Gets the index of the specified FieldDefinition.
Public method IndexOfFieldId Gets the index in this collection of the specified FieldDefinition.
Public method Insert(Int32, FieldDefinition) Inserts the specified FieldDefinition object into this collection at the specified index.
Public method Insert(Int32, String) Inserts the FieldDefinition object that has the specified name into this collection at the specified index.
Public method Remove(String) Removes the specified FieldDefinition object from this collection.
Public method Remove(FieldDefinition) Removes the specified FieldDefinition object from this collection.
Public method RemoveAt Removes a FieldDefinition object at the position that is specified by the index in the collection. (Overrides OrderedVariableSizeList.RemoveAt(Int32).)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IList.Add (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method IList.Clear (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method IList.Contains (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method ICollection.CopyTo (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property ICollection.Count (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method IList.IndexOf (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method IList.Insert (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property IList.IsFixedSize (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property IList.IsReadOnly (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property ICollection.IsSynchronized (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property IList.Item (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method IList.Remove (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate method IList.RemoveAt (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property ICollection.SyncRoot (Inherited from OrderedVariableSizeList.)
Explicit interface implemetationPrivate property IVersionTag.VersionTag (Inherited from OrderedVariableSizeList.)

Top

Remarks

A DisplayFieldList is stored in the DisplayFields property.

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.

See Also

Reference

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace