This documentation is archived and is not being maintained.

_DTE.Mode Property

Gets the mode of the development environment, either debug or design.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

vsIDEMode Mode { get; }
/** @property */
vsIDEMode get_Mode ()

function get Mode () : vsIDEMode

Property Value

A vsIDEMode value.

Sub ModeExample()
  msgbox(dte.Mode)
End Sub
Show: