_ViewFields.Insert(String, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.