Partager via


IVsToolbox6.ResetToolbox(Boolean) Method

Definition

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.

Applies to