Partager via


IVsTextMarkerClientEx.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.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

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

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr.idl:

void IVsTextMarkerClientEx::MarkerInvalidated(
   [in] IVsTextLines *pBuffer,
   [in] IVsTextMarker *pMarker
);

.NET Framework Security

See Also

Reference

IVsTextMarkerClientEx Interface

Microsoft.VisualStudio.TextManager.Interop Namespace