다음을 통해 공유


VsShellUtilities.GetTextView(IVsWindowFrame) Method

Definition

Gets the text view in the specified window frame.

public:
 static Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ GetTextView(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ windowFrame);
public:
 static Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ GetTextView(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame ^ windowFrame);
 static Microsoft::VisualStudio::TextManager::Interop::IVsTextView GetTextView(Microsoft::VisualStudio::Shell::Interop::IVsWindowFrame const & windowFrame);
public static Microsoft.VisualStudio.TextManager.Interop.IVsTextView GetTextView (Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame windowFrame);
static member GetTextView : Microsoft.VisualStudio.Shell.Interop.IVsWindowFrame -> Microsoft.VisualStudio.TextManager.Interop.IVsTextView
Public Shared Function GetTextView (windowFrame As IVsWindowFrame) As IVsTextView
Public Function GetTextView (windowFrame As IVsWindowFrame) As IVsTextView

Parameters

windowFrame
IVsWindowFrame

The window frame

Returns

A reference to an IVsTextView if successful. Otherwise null.

Applies to