Condividi tramite


IVsTextManagerEvents2.OnUnregisterView Method

Fired when a view is unregistered.

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

Syntax

'Dichiarazione
Function OnUnregisterView ( _
    pView As IVsTextView _
) As Integer
int OnUnregisterView(
    IVsTextView pView
)
int OnUnregisterView(
    [InAttribute] IVsTextView^ pView
)
abstract OnUnregisterView : 
        pView:IVsTextView -> int 
function OnUnregisterView(
    pView : IVsTextView
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

void IVsTextManagerEvents2::OnUnregisterView(
   [in] IVsTextView *pView
);

Use notification from this method to determine when another client has unregistered a view.

.NET Framework Security

See Also

Reference

IVsTextManagerEvents2 Interface

Microsoft.VisualStudio.TextManager.Interop Namespace