Dela via


IVsShell4.Restart Method

Restarts the shell.

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

Syntax

'Declaration
Function Restart ( _
    rtRestartMode As UInteger _
) As Integer
int Restart(
    uint rtRestartMode
)
int Restart(
    [InAttribute] unsigned int rtRestartMode
)
abstract Restart : 
        rtRestartMode:uint32 -> int
function Restart(
    rtRestartMode : uint
) : int

Parameters

Return Value

Type: Int32
Returns S_OK if the shell restarted.

.NET Framework Security

See Also

Reference

IVsShell4 Interface

Microsoft.VisualStudio.Shell.Interop Namespace