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
'Declaration
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
pBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines[in] Pointer to the IVsTextLines buffer.
pMarker
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextMarker[in] Pointer to the IVsTextMarker interface for the marker.
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
- 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.