Freigeben über


VsCodeWindowClass.GetPrimaryView-Methode

Gibt die oberste (oder primäre) Ansicht eines geteilten Fenster Code zurück.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'Declaration
Public Overridable Function GetPrimaryView ( _
    <OutAttribute> ByRef ppView As IVsTextView _
) As Integer
public virtual int GetPrimaryView(
    out IVsTextView ppView
)
public:
virtual int GetPrimaryView(
    [OutAttribute] IVsTextView^% ppView
)
abstract GetPrimaryView : 
        ppView:IVsTextView byref -> int  
override GetPrimaryView : 
        ppView:IVsTextView byref -> int
public function GetPrimaryView(
    ppView : IVsTextView
) : int

Parameter

Rückgabewert

Typ: Int32

Implementiert

IVsCodeWindow.GetPrimaryView(IVsTextView%)

.NET Framework-Sicherheit

Siehe auch

Referenz

VsCodeWindowClass Klasse

Microsoft.VisualStudio.TextManager.Interop-Namespace