共用方式為


IVsTextMarkerClient.MarkerInvalidated 方法

藉由使用者動作將會刪除與標記相關的文字時,會呼叫它。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
Sub MarkerInvalidated
void MarkerInvalidated()
void MarkerInvalidated()
abstract MarkerInvalidated : unit -> unit
function MarkerInvalidated()

備註

COM 簽章

從 textmgr.idl:

HRESULT IVsTextMarkerClient::MarkerInvalidated();

OnBeforeBufferClose當緩衝區關閉時,會呼叫而不是MarkerInvalidated

.NET Framework 安全性

請參閱

參考

IVsTextMarkerClient 介面

Microsoft.VisualStudio.TextManager.Interop 命名空間