Partager via


IVsSetSpanMappingEvents.OnMarkerInvalidated Method

Fires event when the text marker is invalidated.

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

Syntax

'Déclaration
Function OnMarkerInvalidated ( _
    pBuffer As IVsTextLines, _
    pMarker As IVsTextMarker _
) As Integer
int OnMarkerInvalidated(
    IVsTextLines pBuffer,
    IVsTextMarker pMarker
)
int OnMarkerInvalidated(
    [InAttribute] IVsTextLines^ pBuffer, 
    [InAttribute] IVsTextMarker^ pMarker
)
abstract OnMarkerInvalidated : 
        pBuffer:IVsTextLines * 
        pMarker:IVsTextMarker -> int 
function OnMarkerInvalidated(
    pBuffer : IVsTextLines, 
    pMarker : IVsTextMarker
) : int

Parameters

Return Value

Type: System.Int32
Returns S_OK if the method succeeds; otherwise, returns an error code.

.NET Framework Security

See Also

Reference

IVsSetSpanMappingEvents Interface

Microsoft.VisualStudio.TextManager.Interop Namespace