DTE2.Mode Property

Definition

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

[System.Runtime.InteropServices.DispId(230)]
[get: System.Runtime.InteropServices.DispId(230)]
public EnvDTE.vsIDEMode Mode { get; }
Property Value

A vsIDEMode value.

Examples

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

Applies to