SortCollection.Add Method

Definition

Overloads

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(SortProperty+SortOrder, PropertyId)

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

public void Add (Microsoft.Hpc.Scheduler.Properties.SortProperty.SortOrder order, Microsoft.Hpc.Scheduler.Properties.PropertyId propertyId);
override this.Add : Microsoft.Hpc.Scheduler.Properties.SortProperty.SortOrder * Microsoft.Hpc.Scheduler.Properties.PropertyId -> unit

Parameters

order
SortProperty.SortOrder

The sort order in which the results are returned (for example, ascending or descending). For possible values, see the SortProperty.SortOrder enumeration.

propertyId
PropertyId

A PropertyId object that uniquely identifies the property used to sort the results.

Implements

Applies to

Add(SortProperty+SortOrder, PropId)

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

public void Add (Microsoft.Hpc.Scheduler.Properties.SortProperty.SortOrder order, Microsoft.Hpc.Scheduler.PropId propId);
override this.Add : Microsoft.Hpc.Scheduler.Properties.SortProperty.SortOrder * Microsoft.Hpc.Scheduler.PropId -> unit

Parameters

order
SortProperty.SortOrder

The sort order in which the results are returned (for example, ascending or descending). For possible values, see the SortProperty.SortOrder enumeration.

propId
PropId

An identifier that uniquely identifies the property used to sort the results. For possible values, see PropId enumeration.

Implements

Applies to