ViewFields.Insert Method (Outlook)
Creates a new ViewField object and inserts it at the specified index within the ViewFields collection.
Version Information
Version Added: Outlook 2007
Syntax
expression .Insert(PropertyName, Index)
expression A variable that represents a ViewFields object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
PropertyName |
Required |
String |
The name of the property to which the new object is associated. |
Index |
Required |
Variant |
Either a one-based 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 where the new object is to be inserted. |
Return Value
A ViewField object that represents the new view field.