SortFieldList Class

Represents a collection of SortFields that can be sorted by a query.

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)

public sealed class SortFieldList : OrderedVariableSizeList

The SortFieldList type exposes the following members.

  NameDescription
Public propertyCountGets the number of elements in this list. (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 SortField element at the specified index.
Public propertySyncRoot Obsolete. (Inherited from OrderedVariableSizeList.)
Top

  NameDescription
Public methodAdd(SortField)Adds the specified SortField instance to this list.
Public methodAdd(String, SortType)Adds a new SortField instance to this list that has the specified name and SortType.
Public methodClearClears this list. (Overrides OrderedVariableSizeList.Clear().)
Public methodContainsChecks whether the specified SortField occurs in this list.
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, in this list, of the specified SortField instance.
Public methodIndexOfFieldIdGets the index, in this list, of the SortField that has the specified field ID.
Public methodInsert(Int32, SortField)Inserts the specified SortField instance into this list at the specified index.
Public methodInsert(Int32, String, SortType)Inserts a new SortField that has the specified name and SortType into this list.
Public methodRemove(String)Removes the SortField that has the specified field name from this list.
Public methodRemove(FieldDefinition)Removes the SortField that has the specified field definition from this list.
Public methodRemove(SortField)Removes the specified SortField from this list.
Public methodRemoveAtRemoves the SortField at the specified index. (Overrides OrderedVariableSizeList.RemoveAt(Int32).)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

This list cannot contain duplicate elements.

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