ISortCollection.Add Method (SortOrder, PropId)

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


Namespace: Microsoft.Hpc.Scheduler
Assembly: Microsoft.Hpc.Scheduler (in Microsoft.Hpc.Scheduler.dll)

'Usage
Dim instance As ISortCollection
Dim order As SortOrder
Dim propId As PropId

instance.Add(order, propId)

void Add (
	SortOrder order,
	PropId propId
)
void Add (
	SortOrder order, 
	PropId propId
)
function Add (
	order : SortOrder, 
	propId : PropId
)

Parameters

order

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

propId

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

The order in which you add the properties to the collection determines the sort order of the results. For example, the first property is the primary sort key; the second property is the secondary sort key; and so on.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, with HPC Pack Client Utilities




Build Date:

2013-04-22
Show: