IVsCodeWindowEvents.OnCloseView(IVsTextView) 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.
Called when a view has been closed.
public:
int OnCloseView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
public:
int OnCloseView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
int OnCloseView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView);
public int OnCloseView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView);
abstract member OnCloseView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> int
Public Function OnCloseView (pView As IVsTextView) As Integer
Parameters
- pView
- IVsTextView
[in] The IVsTextView object representing the view that has been closed.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsCodeWindowEvents::OnCloseView([
in] IVsTextView *pView
);