IVsTextManagerEvents2.OnUnregisterView(IVsTextView) Method

Definition

Fired when a view is unregistered.

public:
 int OnUnregisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
public:
 int OnUnregisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ pView);
int OnUnregisterView(Microsoft::VisualStudio::TextManager::Interop::IVsTextView const & pView);
public int OnUnregisterView (Microsoft.VisualStudio.TextManager.Interop.IVsTextView pView);
abstract member OnUnregisterView : Microsoft.VisualStudio.TextManager.Interop.IVsTextView -> int
Public Function OnUnregisterView (pView As IVsTextView) As Integer

Parameters

pView
IVsTextView

[in] Pointer to the IVsTextView interface identifying the view that was unregistered.

Returns

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.

Applies to