Partager via


DTE2.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.

Implements

Attributes

Examples

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

Applies to