VsShellUtilities::IsVisualStudioInDesignMode Method (IServiceProvider^)

 

Determines whether Visual Studio is in design mode (as opposed to run mode or debug mode).

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public:
static bool IsVisualStudioInDesignMode(
	IServiceProvider^ serviceProvider
)

Parameters

serviceProvider
Type: System::IServiceProvider^

IServiceProvider.

Return Value

Type: System::Boolean

true if Visual Studio is in design mode; otherwise, false.

Return to top
Show: