OrderFields.Add method (Outlook)

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

Syntax

expression.Add (PropertyName, IsDescending)

expression A variable that represents an OrderFields object.

Parameters

Name Required/Optional Data type Description
PropertyName Required String The name of the property to which the new object is associated.
IsDescending Optional Boolean The value used to set the IsDescending property of the new OrderField object. If this value is not specified, the default value of the IsDescending property is used.

Return value

An OrderField object that represents the new order field.

See also

OrderFields Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.