VsShellUtilities.GetTextView(IVsWindowFrame) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.