Edit

Share via


_OrderFields.Add(String, Object) Method

Definition

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

public Microsoft.Office.Interop.Outlook.OrderField Add (string PropertyName, object IsDescending);
Public Function Add (PropertyName As String, Optional IsDescending As Object) As OrderField

Parameters

PropertyName
String

The name of the property to which the new object is associated.

IsDescending
Object

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.

Returns

An OrderField object that represents the new order field.

Applies to