Udostępnij za pośrednictwem


IVsCodeWindowEvents.OnCloseView(IVsTextView) Method

Definition

Called when a view has been closed.

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

Parameters

pView
IVsTextView

[in] The IVsTextView object representing the view that has been closed.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsCodeWindowEvents::OnCloseView([  
   in] IVsTextView *pView  
);  

Applies to