OrderFields.Add Method (Outlook)
Creates a new OrderField object and appends it to the OrderFields collection.
Version Information
Version Added: Outlook 2007
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.