OrderFields.Add Method (Outlook)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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.

Show: