Rediger

Del via


_OrderFields.Insert(String, Object, Object) Method

Definition

Creates a new OrderField object and inserts it at the specified index within the OrderFields collection.

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

Parameters

PropertyName
String

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

Index
Object

Either the index number at which to insert the new object, or a value used to match the ViewXMLSchemaName property value of an object in the collection at where the new object is to be inserted.

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