Compartilhar via


IVsTextViewEvents.OnKillFocus(IVsTextView) Method

Definition

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.

Applies to