SortFieldList Class
Represents a collection of SortFields that can be sorted by a query.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.WorkItemTracking.Common.OrderedVariableSizeList
Microsoft.TeamFoundation.WorkItemTracking.Client.SortFieldList
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Declaração
Public NotInheritable Class SortFieldList _
Inherits OrderedVariableSizeList
public sealed class SortFieldList : OrderedVariableSizeList
public ref class SortFieldList sealed : public OrderedVariableSizeList
[<Sealed>]
type SortFieldList =
class
inherit OrderedVariableSizeList
end
public final class SortFieldList extends OrderedVariableSizeList
The SortFieldList type exposes the following members.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of elements in this list. (Overrides OrderedVariableSizeList.Count.) | |
IsFixedSize | Obsolete. (Inherited from OrderedVariableSizeList.) | |
IsReadOnly | Obsolete. (Inherited from OrderedVariableSizeList.) | |
IsSynchronized | Obsolete. (Inherited from OrderedVariableSizeList.) | |
Item | Gets or sets the SortField element at the specified index. | |
SyncRoot | Obsolete. (Inherited from OrderedVariableSizeList.) |
Top
Methods
Name | Description | |
---|---|---|
Add(SortField) | Adds the specified SortField instance to this list. | |
Add(String, SortType) | Adds a new SortField instance to this list that has the specified name and SortType. | |
AddItem | (Inherited from OrderedVariableSizeList.) | |
Clear | Clears this list. (Overrides OrderedVariableSizeList.Clear().) | |
Contains | Checks whether the specified SortField occurs in this list. | |
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, in this list, of the specified SortField instance. | |
IndexOfFieldId | Gets the index, in this list, of the SortField that has the specified field ID. | |
IndexOfItem | (Inherited from OrderedVariableSizeList.) | |
Insert(Int32, SortField) | Inserts the specified SortField instance into this list at the specified index. | |
Insert(Int32, String, SortType) | Inserts a new SortField that has the specified name and SortType into this list. | |
InsertItem | (Inherited from OrderedVariableSizeList.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(String) | Removes the SortField that has the specified field name from this list. | |
Remove(FieldDefinition) | Removes the SortField that has the specified field definition from this list. | |
Remove(SortField) | Removes the specified SortField from this list. | |
RemoveAt | Removes the SortField at the specified index. (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
This list cannot contain duplicate elements.
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.