_OrderFields.Add(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.