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 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。