PimItemCollection.ApplySort Method

3/29/2010

Sorts the list based on a property descriptor and a sort direction.

Namespace: Microsoft.WindowsMobile.PocketOutlook
Assembly: Microsoft.WindowsMobile.PocketOutlook (in microsoft.windowsmobile.pocketoutlook.dll)

Syntax

public void ApplySort (
    PropertyDescriptor property,
    ListSortDirection direction
)
'Declaration
Public Sub ApplySort ( _
    property As PropertyDescriptor, _
    direction As ListSortDirection _
)

Parameters

  • property
    The PropertyDescriptor to sort by.
  • direction
    One of the ListSortDirection values.

Remarks

If items are added or removed, these items are placed in the order of the sort. When you call this method, you should raise a ListChanged event with the Reset enumeration.

Thread Safety

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

See Also

Reference

PimItemCollection Class
PimItemCollection Members
Microsoft.WindowsMobile.PocketOutlook Namespace