Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Returns the last active view of the code window.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
Syntax
'Declaration
Public Overridable Function GetLastActiveView ( _
<OutAttribute> ByRef ppView As IVsTextView _
) As Integer
public virtual int GetLastActiveView(
out IVsTextView ppView
)
public:
virtual int GetLastActiveView(
[OutAttribute] IVsTextView^% ppView
)
abstract GetLastActiveView :
ppView:IVsTextView byref -> int
override GetLastActiveView :
ppView:IVsTextView byref -> int
public function GetLastActiveView(
ppView : IVsTextView
) : int
Parameters
- ppView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView%
[out] Pointer to the IVsTextView interface that represents the last active view.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
IVsCodeWindow.GetLastActiveView(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.