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.
Gets the text view in the specified window frame.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public Shared Function GetTextView ( _
windowFrame As IVsWindowFrame _
) As IVsTextView
'Usage
Dim windowFrame As IVsWindowFrame
Dim returnValue As IVsTextView
returnValue = VsShellUtilities.GetTextView(windowFrame)
public static IVsTextView GetTextView(
IVsWindowFrame windowFrame
)
public:
static IVsTextView^ GetTextView(
IVsWindowFrame^ windowFrame
)
static member GetTextView :
windowFrame:IVsWindowFrame -> IVsTextView
public static function GetTextView(
windowFrame : IVsWindowFrame
) : IVsTextView
Parameters
- windowFrame
Type: Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame
IVsWindowFrame that contains the text view.
Return Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
The text view in an IVsTextView object, or nulla null reference (Nothing in Visual Basic) if the window frame is a code window that is not implemented as a text view.
.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.