KeyBindings.ClearAll Method
Clears all the customized key assignments and restores the original Microsoft Word shortcut key assignments.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)
Syntax
'Declaration
Sub ClearAll
'Usage
Dim instance As KeyBindings
instance.ClearAll()
void ClearAll()
Remarks
After applying the ClearAll method to the KeyBindings object, the keys assignments in the specified template or document are reset to the default settings. Use the CustomizationContext property to specify a document or template context prior to using the ClearAll method.