_CommandBarButton.Reset Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Resets a built-in command bar control to its original function and face.
public:
void Reset();
public void Reset ();
abstract member Reset : unit -> unit
Public Sub Reset ()
Implements
Remarks
Resetting a built-in control restores the actions originally intended for the control and resets each of the control's properties back to its original state. Resetting a built-in command bar removes custom controls and restores built-in controls.