次の方法で共有


IVsTextMarkerClientEx.MarkerInvalidated(IVsTextLines, IVsTextMarker) Method

Definition

Called when the text associated with a marker is deleted by a user action.

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

Parameters

pBuffer
IVsTextLines

[in] Pointer to the IVsTextLines buffer.

pMarker
IVsTextMarker

[in] Pointer to the IVsTextMarker interface for the marker.

Returns

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  
);  

Applies to