IVsCodeWindowEvents.OnCloseView(IVsTextView) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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
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
);