Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Gets the display mode, either MDI or Tabbed Documents.
Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
Syntax
'Declaration
Property DisplayMode As vsDisplay
vsDisplay DisplayMode { get; set; }
property vsDisplay DisplayMode {
    vsDisplay get ();
    void set (vsDisplay value);
}
abstract DisplayMode : vsDisplay with get, set
function get DisplayMode () : vsDisplay
function set DisplayMode (value : vsDisplay)
Property Value
Type: EnvDTE.vsDisplay
A vsDisplay constant representing the display mode.
Examples
Sub DisplayModeExample()
   If DTE.DisplayMode = vsDisplay.vsDisplayMDI Then
     MsgBox("Environment is in MDI mode.")
   Else
     MsgBox("Environment is in Tabbed Documents mode.")
   End If
End Sub
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.