_OutlookBarShortcuts.Add(Object, 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.
Ajoute un nouveau raccourci à un groupe dans le volet Raccourcis.
public Microsoft.Office.Interop.Outlook.OutlookBarShortcut Add (object Target, string Name, object Index);
Public Function Add (Target As Object, Name As String, Optional Index As Object) As OutlookBarShortcut
Paramètres
- Target
- Object
Cible du raccourci créé.
- Name
- String
Nom du raccourci créé.
- Index
- Object
Position à laquelle le nouveau raccourci sera inséré dans le groupe du volet Raccourcis. La position 1 est en haut du groupe. Le type cible dépend du type de raccourci. Si le type est Dossier, le raccourci représente un dossier Microsoft Outlook. Si le type est une chaîne (chaîne en C#), le raccourci représente un chemin d’accès au système de fichiers ou une URL.
Retours
Objet OutlookBarShortcut qui représente le nouveau raccourci.