共用方式為


IVsTextMarkerClient.MarkerInvalidated Method

Definition

Called when the text associated with a marker is deleted by a user action.

public:
 void MarkerInvalidated();
public:
 void MarkerInvalidated();
void MarkerInvalidated();
public void MarkerInvalidated ();
abstract member MarkerInvalidated : unit -> unit
Public Sub MarkerInvalidated ()

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::MarkerInvalidated();  

OnBeforeBufferClose is called when the buffer is closed, instead of MarkerInvalidated.

Applies to