Share via


KeyBinding.Rebind(WdKeyCategory, String, Object) Méthode

Définition

Affecte à une autre commande la combinaison de touches spécifiée.

public void Rebind (Microsoft.Office.Interop.Word.WdKeyCategory KeyCategory, string Command, ref object CommandParameter);
abstract member Rebind : Microsoft.Office.Interop.Word.WdKeyCategory * string * obj -> unit
Public Sub Rebind (KeyCategory As WdKeyCategory, Command As String, Optional ByRef CommandParameter As Object)

Paramètres

KeyCategory
WdKeyCategory

Obligatoire WdKeyCategory. Catégorie des touches de la combinaison.

Command
String

Argument de type String obligatoire. Nom de la commande spécifiée.

CommandParameter
Object

Objet facultatif. Texte supplémentaire, le cas échéant, requis pour la commande spécifiée par Command. Pour plus d’informations sur les valeurs de cet argument, consultez la Add(WdKeyCategory, String, Int32, Object, Object) méthode de l’objet KeyBindings .

S’applique à