In The Hand LtdIn The Hand
Sort Method (propertyName, descending)
NamespacesInTheHand.WindowsMobile.PocketOutlookPimItemCollectionSort(String, Boolean)
.NET Components for Mobility
Sort items in a collection on a given property.
Declaration Syntax
C#Visual Basic
public bool Sort(
	string propertyName,
	bool descending
)
Public Function Sort ( _
	propertyName As String, _
	descending As Boolean _
) As Boolean
Parameters
propertyName (String)
The property which is to be sorted on. Note that it is no longer recommended you wrap this value in square brackets.
descending (Boolean)
TRUE if the sort should be descending, FALSE if it should be ascending. This parameter is optional and takes on a default value of FALSE.
Return Value
true if the sort was successful; otherwise false.
Remarks
Note that you cannot sort on the following properties: Categories, BodyInk, ReminderTime, Recipients.
Exceptions
ExceptionCondition
NotSupportedExceptionSort is not supported.
ArgumentNullExceptionpropertyName is null.

Assembly: InTheHand.WindowsMobile.PocketOutlook (Module: InTheHand.WindowsMobile.PocketOutlook) Version: 7.0.0.0