VsShellUtilities.IsVisualStudioInDesignMode(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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