Partager via


IVsSetSpanMappingEvents.OnMarkerInvalidated Method

Definition

Fires event when the text marker is invalidated.

public:
 int OnMarkerInvalidated(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ pMarker);
public:
 int OnMarkerInvalidated(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines ^ pBuffer, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker ^ pMarker);
int OnMarkerInvalidated(Microsoft::VisualStudio::TextManager::Interop::IVsTextLines const & pBuffer, Microsoft::VisualStudio::TextManager::Interop::IVsTextMarker const & pMarker);
public int OnMarkerInvalidated (Microsoft.VisualStudio.TextManager.Interop.IVsTextLines pBuffer, Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker pMarker);
abstract member OnMarkerInvalidated : Microsoft.VisualStudio.TextManager.Interop.IVsTextLines * Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker -> int
Public Function OnMarkerInvalidated (pBuffer As IVsTextLines, pMarker As IVsTextMarker) As Integer

Parameters

pBuffer
IVsTextLines

[in] The text buffer.

pMarker
IVsTextMarker

[in] The text marker.

Returns

Returns S_OK if the method succeeds; otherwise, returns an error code.

Applies to