Partager via


_ViewFields.Insert(String, Object) Méthode

Définition

Crée un ViewField objet et l’insère à l’index spécifié dans la 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

Paramètres

PropertyName
String

Nom de la propriété à laquelle le nouvel objet est associé.

Index
Object

Soit un numéro d’index de base un au niveau duquel insérer le nouvel objet, soit une valeur utilisée pour correspondre à la ViewXMLSchemaName valeur de propriété d’un objet dans la collection où le nouvel objet doit être inséré.

Retours

Objet ViewField qui représente le nouveau champ d'affichage.

S’applique à