IVsToolbox6.ResetToolbox(Boolean) 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 the toolbox to its default state, discarding all user customizations.
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ResetToolbox(bool promptUser);
public:
Microsoft::VisualStudio::Shell::Interop::IVsTask ^ ResetToolbox(bool promptUser);
Microsoft::VisualStudio::Shell::Interop::IVsTask ResetToolbox(bool promptUser);
public Microsoft.VisualStudio.Shell.Interop.IVsTask ResetToolbox (bool promptUser);
abstract member ResetToolbox : bool -> Microsoft.VisualStudio.Shell.Interop.IVsTask
Public Function ResetToolbox (promptUser As Boolean) As IVsTask
Parameters
- promptUser
- Boolean
[in] Specifies whether to prompt the user before resetting the toolbox to its default state. If this parameter is true, the user will be given an option to cancel the reset first.
Returns
Toolbox reset might be asynchronous, so this method returns quickly with the pending portion of the work. If null, the reset completed synchronously.