_DTE.Mode Property

Definition

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

public:
 property EnvDTE::vsIDEMode Mode { EnvDTE::vsIDEMode get(); };
public:
 property EnvDTE::vsIDEMode Mode { EnvDTE::vsIDEMode get(); };
[System.Runtime.InteropServices.DispId(230)]
public EnvDTE.vsIDEMode Mode { [System.Runtime.InteropServices.DispId(230)] get; }
[<System.Runtime.InteropServices.DispId(230)>]
[<get: System.Runtime.InteropServices.DispId(230)>]
member this.Mode : EnvDTE.vsIDEMode
Public ReadOnly Property Mode As vsIDEMode

Property Value

A vsIDEMode value.

Attributes

Examples

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

Applies to