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
- pView
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
[in] Pointer to the IVsTextView interface identifying the view that was unregistered.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.