다음을 통해 공유


IVsTextViewEvents.OnKillFocus Method

Notifies a client when a view loses focus.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

‘선언
Sub OnKillFocus ( _
    pView As IVsTextView _
)
‘사용 방법
Dim instance As IVsTextViewEvents
Dim pView As IVsTextView

instance.OnKillFocus(pView)
void OnKillFocus(
    IVsTextView pView
)
void OnKillFocus(
    [InAttribute] IVsTextView^ pView
)
abstract OnKillFocus : 
        pView:IVsTextView -> unit 
function OnKillFocus(
    pView : IVsTextView
)

Parameters

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.

.NET Framework Security

See Also

Reference

IVsTextViewEvents Interface

IVsTextViewEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace