Udostępnij za pośrednictwem


DTE2.Mode Property

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

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

Syntax

'Declaration
ReadOnly Property Mode As vsIDEMode
vsIDEMode Mode { get; }
property vsIDEMode Mode {
    vsIDEMode get ();
}
abstract Mode : vsIDEMode
function get Mode () : vsIDEMode

Property Value

Type: EnvDTE.vsIDEMode
A vsIDEMode value.

Implements

_DTE.Mode

Examples

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

.NET Framework Security

See Also

Reference

DTE2 Interface

EnvDTE80 Namespace