Compartilhar via


IVsToolbox6.ResetToolbox Method

Resets the toolbox to its default state, discarding all user customizations.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function ResetToolbox ( _
    promptUser As Boolean _
) As IVsTask
IVsTask ResetToolbox(
    bool promptUser
)
IVsTask^ ResetToolbox(
    [InAttribute] bool promptUser
)
abstract ResetToolbox : 
        promptUser:bool -> IVsTask
function ResetToolbox(
    promptUser : boolean
) : IVsTask

Parameters

  • promptUser
    Type: 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.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IVsTask
Toolbox reset might be asynchronous, so this method returns quickly with the pending portion of the work. If null, the reset completed synchronously.

.NET Framework Security

See Also

Reference

IVsToolbox6 Interface

Microsoft.VisualStudio.Shell.Interop Namespace