IVsCodeWindowEvents.OnCloseView(IVsTextView) Yöntem

Tanım

Bir görünüm kapatıldığında çağırılır.

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

Parametreler

pView
IVsTextView

'ndaki IVsTextView Kapatılan görünümü temsil eden nesne.

Döndürülenler

Int32

Yöntem başarılı olursa, döndürür S_OK . Başarısız olursa, bir hata kodu döndürür.

Açıklamalar

COM Imzası

Textmgr. IDL dosyasından:

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

Şunlara uygulanır