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
'Declaração
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 | |
---|---|---|
Count | Gets the number of elements in this collection. (Overrides OrderedVariableSizeList.Count.) | |
IsFixedSize | Obsolete. (Inherited from OrderedVariableSizeList.) | |
IsReadOnly | Obsolete. (Inherited from OrderedVariableSizeList.) | |
IsSynchronized | Obsolete. (Inherited from OrderedVariableSizeList.) | |
Item | Gets or sets the FieldDefinition object at the specified index in the collection. | |
SyncRoot | Obsolete. (Inherited from OrderedVariableSizeList.) |
Top
Methods
Name | Description | |
---|---|---|
Add(String) | Adds a FieldDefinition object to this collection by its name. | |
Add(FieldDefinition) | Adds a FieldDefinition object to this collection at the next available index. | |
AddItem | (Inherited from OrderedVariableSizeList.) | |
Clear | Empties this collection. (Overrides OrderedVariableSizeList.Clear().) | |
Contains | Checks whether the specified FieldDefinition object is located in this collection. | |
CopyTo | Obsolete. (Inherited from OrderedVariableSizeList.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | (Inherited from OrderedVariableSizeList.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItem | (Inherited from OrderedVariableSizeList.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Gets the index of the specified FieldDefinition. | |
IndexOfFieldId | Gets the index in this collection of the specified FieldDefinition. | |
IndexOfItem | (Inherited from OrderedVariableSizeList.) | |
Insert(Int32, FieldDefinition) | Inserts the specified FieldDefinition object into this collection at the specified index. | |
Insert(Int32, String) | Inserts the FieldDefinition object that has the specified name into this collection at the specified index. | |
InsertItem | (Inherited from OrderedVariableSizeList.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(String) | Removes the specified FieldDefinition object from this collection. | |
Remove(FieldDefinition) | Removes the specified FieldDefinition object from this collection. | |
RemoveAt | Removes a FieldDefinition object at the position that is specified by the index in the collection. (Overrides OrderedVariableSizeList.RemoveAt(Int32).) | |
SetItem | (Inherited from OrderedVariableSizeList.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
m_version | (Inherited from OrderedVariableSizeList.) |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IList.Add | (Inherited from OrderedVariableSizeList.) | |
IList.Clear | (Inherited from OrderedVariableSizeList.) | |
IList.Contains | (Inherited from OrderedVariableSizeList.) | |
ICollection.CopyTo | (Inherited from OrderedVariableSizeList.) | |
ICollection.Count | (Inherited from OrderedVariableSizeList.) | |
IList.IndexOf | (Inherited from OrderedVariableSizeList.) | |
IList.Insert | (Inherited from OrderedVariableSizeList.) | |
IList.IsFixedSize | (Inherited from OrderedVariableSizeList.) | |
IList.IsReadOnly | (Inherited from OrderedVariableSizeList.) | |
ICollection.IsSynchronized | (Inherited from OrderedVariableSizeList.) | |
IList.Item | (Inherited from OrderedVariableSizeList.) | |
IList.Remove | (Inherited from OrderedVariableSizeList.) | |
IList.RemoveAt | (Inherited from OrderedVariableSizeList.) | |
ICollection.SyncRoot | (Inherited from OrderedVariableSizeList.) | |
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.