OrderFields OrderFields OrderFields Interface


Represents the collection of OrderField objects in a view.

public interface class OrderFields : Microsoft::Office::Interop::Outlook::_OrderFields
public interface OrderFields : Microsoft.Office.Interop.Outlook._OrderFields
Public Interface OrderFields
Implements _OrderFields


This is a .NET interface derived from a COM coclass that is required by managed code for interoperability with the corresponding COM object. Use this derived interface to access all method, property, and event members of the COM object. However, if a method or event you want to use shares the same name under the same COM object, cast to the corresponding primary interface to call the method, and cast to the latest events interface to connect to the event. Refer to this topic for information about the COM object. For information about the method and property members of the COM object, see _OrderFields.

The OrderFields collection represents the Outlook item properties used to sort Outlook items displayed in the view. Use the Add(String, Object) 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.


Add(String, Object) Add(String, Object) Add(String, Object)

Creates a new OrderField object and appends it to the OrderFields collection.

(Inherited from _OrderFields)

Insert(String, Object, Object) Insert(String, Object, Object) Insert(String, Object, Object)

Creates a new OrderField object and inserts it at the specified index within the OrderFields collection.

(Inherited from _OrderFields)

Remove(Object) Remove(Object) Remove(Object)

Removes an object from the collection.

(Inherited from _OrderFields)

RemoveAll() RemoveAll() RemoveAll()

Removes all sorting properties from the OrderFields collection.

(Inherited from _OrderFields)


Application Application Application

Returns an Application object that represents the parent Outlook application for the object. Read-only.

(Inherited from _OrderFields)

Class Class Class

Returns an OlObjectClass constant indicating the object's class. Read-only.

(Inherited from _OrderFields)

Count Count Count

Returns an Integer (int in C#) value indicating the count of OrderField objects in the specified collection. Read-only.

(Inherited from _OrderFields)

Item[Object] Item[Object] Item[Object]

Returns an OrderField object from the collection.

(Inherited from _OrderFields)

Parent Parent Parent

Returns the parent Object of the specified object. Read-only.

(Inherited from _OrderFields)

Session Session Session

Returns the NameSpace object for the current session. Read-only.

(Inherited from _OrderFields)

Applies to