Share via


VsShellUtilities.IsVisualStudioInDesignMode(IServiceProvider) Method

Definition

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

public:
 static bool IsVisualStudioInDesignMode(IServiceProvider ^ serviceProvider);
public static bool IsVisualStudioInDesignMode (IServiceProvider serviceProvider);
static member IsVisualStudioInDesignMode : IServiceProvider -> bool
Public Shared Function IsVisualStudioInDesignMode (serviceProvider As IServiceProvider) As Boolean
Public Function IsVisualStudioInDesignMode (serviceProvider As IServiceProvider) As Boolean

Parameters

serviceProvider
IServiceProvider

The service provider.

Returns

true if visual studio is in design mode

Applies to