Düzenle

Aracılığıyla paylaş


_ViewFields.Insert(String, Object) Method

Definition

Creates a new ViewField object and inserts it at the specified index within the ViewFields collection.

public:
 Microsoft::Office::Interop::Outlook::ViewField ^ Insert(System::String ^ PropertyName, System::Object ^ Index);
public Microsoft.Office.Interop.Outlook.ViewField Insert (string PropertyName, object Index);
Public Function Insert (PropertyName As String, Index As Object) As ViewField

Parameters

PropertyName
String

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

Index
Object

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.

Returns

A ViewField object that represents the new view field.

Applies to