_OrderFields.Insert(String, Object, 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 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.