Edit

Share via


SortCollection Class

Definition

Defines a collection of sort property objects used to sort the results when retrieving jobs, task, and nodes.

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.None)]
[System.Runtime.InteropServices.ComVisible(true)]
[System.Runtime.InteropServices.Guid("39e4e48e-7f51-433d-ac20-8ac7c8eaa228")]
public class SortCollection : Microsoft.Hpc.Scheduler.SchedulerCollection<Microsoft.Hpc.Scheduler.Properties.SortProperty>, Microsoft.Hpc.Scheduler.ISortCollection, System.Collections.Generic.ICollection<Microsoft.Hpc.Scheduler.Properties.SortProperty>, System.Collections.Generic.IEnumerable<Microsoft.Hpc.Scheduler.Properties.SortProperty>, System.Collections.ICollection
type SortCollection = class
    inherit SchedulerCollection<SortProperty>
    interface ISortCollection
    interface ISchedulerCollection
    interface ICollection
    interface IEnumerable
    interface ICollection<SortProperty>
    interface seq<SortProperty>
Public Class SortCollection
Inherits SchedulerCollection(Of SortProperty)
Implements ICollection, ICollection(Of SortProperty), IEnumerable(Of SortProperty), ISortCollection
Inheritance
Attributes
Implements

Constructors

SortCollection()

Initializes a new instance of this class.

Properties

Count

Retrieves a count of the number of items in the collection.

(Inherited from SchedulerCollection<T>)
IsReadOnly

Determines whether the collection is read-only.

(Inherited from SchedulerCollection<T>)
IsSynchronized

Determines whether access to the collection is synchronized.

(Inherited from SchedulerCollection<T>)
Item[Int32]

Retrieves the specified item from the collection.

(Inherited from SchedulerCollection<T>)
SyncRoot

Retrieves an object that can be used to synchronize access to the collection.

(Inherited from SchedulerCollection<T>)

Methods

Add(SortProperty+SortOrder, PropertyId)

Adds a sort item to the collection using the specified operator and property object.

Add(SortProperty+SortOrder, PropId)

Adds a sort item to the collection using the specified operator and property identifier.

Add(T)

Adds an item to the collection.

(Inherited from SchedulerCollection<T>)
Clear()

Removes all items from the collection.

(Inherited from SchedulerCollection<T>)
Contains(T)

Determines whether the collection contains the specified item.

(Inherited from SchedulerCollection<T>)
CopyTo(Array, Int32)

Copies items from the collection to an array at the specified index.

(Inherited from SchedulerCollection<T>)
CopyTo(T[], Int32)

Copies items from the collection to an array at the specified index.

(Inherited from SchedulerCollection<T>)
GetSorts()

Gets an array of the sort items from the collection.

Remove(T)

Removes the first occurrence of the specified item from the collection.

(Inherited from SchedulerCollection<T>)

Explicit Interface Implementations

IEnumerable.GetEnumerator() (Inherited from SchedulerCollection<T>)
IEnumerable<T>.GetEnumerator() (Inherited from SchedulerCollection<T>)
ISchedulerCollection.Add(Object) (Inherited from SchedulerCollection<T>)
ISchedulerCollection.Contains(Object) (Inherited from SchedulerCollection<T>)
ISchedulerCollection.GetEnumerator() (Inherited from SchedulerCollection<T>)
ISchedulerCollection.Item[Int32] (Inherited from SchedulerCollection<T>)
ISchedulerCollection.Remove(Object) (Inherited from SchedulerCollection<T>)
ISortCollection.Clear()
ISortCollection.Count
ISortCollection.GetEnumerator()
ISortCollection.Item[Int32]

Applies to