OrderFields Object
Outlook Developer Reference |
Represents the collection of OrderField objects in a view.
Version Information
Version Added: Outlook 2007
Remarks
The OrderFields collection represents the Outlook item properties used to sort Outlook items displayed in the view. Use the Add method or the OrderFields collection to create a new order field for the following objects derived from the View object:
OrderField objects contained in an OrderFields collection are applied to Outlook items displayed in the view in the order in which the objects are contained in the collection.
Example
The following Visual Basic for Applications (VBA) example iterates through the SortFields collection of the current TableView object, displaying the label and XML schema names of each OrderField object in the collection.
Visual Basic for Applications |
---|
|
See Also