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
'Declaration
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
pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] The text buffer.
pMarker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker[in] The text marker.
Return Value
Type: System.Int32
Returns S_OK if the method succeeds; otherwise, returns an error code.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.