_Application.ListCommands Method
Creates a new document and then inserts a table of Microsoft Word commands along with their associated shortcut keys and menu assignments.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub ListCommands ( _
ListAllCommands As Boolean _
)
'Usage
Dim instance As _Application
Dim ListAllCommands As Boolean
instance.ListCommands(ListAllCommands)
void ListCommands(
bool ListAllCommands
)
Parameters
- ListAllCommands
Type: System.Boolean
Required Boolean. True to include all Word commands and their assignments (whether customized or built-in); False to include only commands with customized assignments.