共用方式為


IVsTextMarkerClient.MarkerInvalidated Method

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

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣告
Sub MarkerInvalidated
'用途
Dim instance As IVsTextMarkerClient

instance.MarkerInvalidated()
void MarkerInvalidated()
void MarkerInvalidated()
abstract MarkerInvalidated : unit -> unit 
function MarkerInvalidated()

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextMarkerClient::MarkerInvalidated();

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

.NET Framework Security

See Also

Reference

IVsTextMarkerClient Interface

IVsTextMarkerClient Members

Microsoft.VisualStudio.TextManager.Interop Namespace