Compartilhar via


IVsShell4.Restart(UInt32) Method

Definition

Restarts the shell.

public:
 int Restart(System::UInt32 rtRestartMode);
public:
 int Restart(unsigned int rtRestartMode);
int Restart(unsigned int rtRestartMode);
public int Restart (uint rtRestartMode);
abstract member Restart : uint32 -> int
Public Function Restart (rtRestartMode As UInteger) As Integer

Parameters

rtRestartMode
UInt32

RESTART_Normal to restart at normal privilege level, or RESTART_Elevated to restart at elevated privilege level.

Returns

Returns S_OK if the shell restarted.

Applies to