ListEntries.Add(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.
Renvoie un ListEntry Object qui représente un élément ajouté à un champ de formulaire de liste déroulante.
public Microsoft.Office.Interop.Word.ListEntry Add (string Name, ref object Index);
abstract member Add : string * obj -> Microsoft.Office.Interop.Word.ListEntry
Public Function Add (Name As String, Optional ByRef Index As Object) As ListEntry
Paramètres
- Name
- String
Argument de type String obligatoire. Nom de l'élément à ajouter dans le champ liste déroulante.
- Index
- Object
Objetfacultatif. Nombre qui correspond à la position de l'élément dans la liste.