Share via


_DTE.Mode Property

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

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

Syntax

'Declaration
ReadOnly Property Mode As vsIDEMode
'Usage
Dim instance As _DTE 
Dim value As vsIDEMode 

value = instance.Mode
vsIDEMode Mode { get; }
property vsIDEMode Mode {
    vsIDEMode get ();
}
function get Mode () : vsIDEMode

Property Value

Type: EnvDTE.vsIDEMode
A vsIDEMode value.

Examples

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

.NET Framework Security

See Also

Reference

_DTE Interface

_DTE Members

EnvDTE Namespace