MpfUtilities.IsVisualStudioInDesignMode Method
This class and its members are reserved for internal use and are not intended to be used in your code.
Namespace: Microsoft.VisualStudio.Data.Schema.Package.Project.Internal
Assembly: Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)
Syntax
'Declaration
Public Shared Function IsVisualStudioInDesignMode ( _
site As IServiceProvider _
) As Boolean
public static bool IsVisualStudioInDesignMode(
IServiceProvider site
)
public:
static bool IsVisualStudioInDesignMode(
IServiceProvider^ site
)
static member IsVisualStudioInDesignMode :
site:IServiceProvider -> bool
public static function IsVisualStudioInDesignMode(
site : IServiceProvider
) : boolean
Parameters
- site
Type: System.IServiceProvider
The service provider.
Return Value
Type: System.Boolean
true if Visual Studio is in design mode.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Package.Project.Internal Namespace