Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
ID
Top
Expand Minimize

Mode Property (DTE Object)

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public ReadOnly Property Mode() As vsIDEMode
[Visual Basic 6]
Property Get Mode() As vsIDEMode
[C++]
HRESULT __stdcall get_Mode(
   /* [out, retval] */ vsIDEMode* retVal
);
[C#]
vsIDEMode Mode {get;}
[JScript .NET]
public function get Mode() : vsIDEMode

Return Value

Returns a vsIDEMode value.

Example

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

See Also

Applies To: DTE Object

Show:
© 2015 Microsoft