Compartir a través de


VsShellUtilities.GetTextView Method

Gets the text view in the specified window frame.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Shared Function GetTextView ( _
    windowFrame As IVsWindowFrame _
) As IVsTextView
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

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

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace