IVsTextViewEvents.OnKillFocus(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.
Notifies a client when a view loses focus.
public:
void OnKillFocus(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
public:
void OnKillFocus(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
void OnKillFocus(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView);
public void OnKillFocus (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView);
abstract member OnKillFocus : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> unit
Public Sub OnKillFocus (pView As IVsTextView)
Parameters
- pView
- IVsTextView
[in] Pointer to the IVsTextView interface.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextViewEvents::OnKillFocus(
[in] IVsTextView *pView
);
The reference count is not incremented when you obtain a pointer to IVsTextView; if you want to keep it, call AddRef on it explicitly.