Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the top (or primary) view of a split code window.
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
Parameters
- ppView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView%
[out] Pointer to IVsTextView interface of the primary text view.
Return Value
Type: System.Int32
Implements
IVsCodeWindow.GetPrimaryView(IVsTextView%)
.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.