Visual Studio 2015
Gets the mode of the development environment, either debug or design.
Assembly: EnvDTE (in EnvDTE.dll)
- 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.