_DTE.DisplayMode Eigenschaft

Definition

Ruft den Anzeigemodus ab, entweder MDI oder Dokumente im Registerkartenformat.

public:
 property EnvDTE::vsDisplay DisplayMode { EnvDTE::vsDisplay get(); void set(EnvDTE::vsDisplay value); };
public:
 property EnvDTE::vsDisplay DisplayMode { EnvDTE::vsDisplay get(); void set(EnvDTE::vsDisplay value); };
[System.Runtime.InteropServices.DispId(208)]
public EnvDTE.vsDisplay DisplayMode { [System.Runtime.InteropServices.DispId(208)] get; [System.Runtime.InteropServices.DispId(208)] set; }
[<System.Runtime.InteropServices.DispId(208)>]
[<get: System.Runtime.InteropServices.DispId(208)>]
[<set: System.Runtime.InteropServices.DispId(208)>]
member this.DisplayMode : EnvDTE.vsDisplay with get, set
Public Property DisplayMode As vsDisplay

Eigenschaftswert

vsDisplay

Eine vsDisplay-Konstante, die den Anzeigemodus darstellt.

Attribute

Beispiele

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  

Gilt für