IVsTextStreamMarker.Invalidate Method

Definition

Prevents a text marker from appearing in the user interface.

public:
 int Invalidate();
public:
 int Invalidate();
int Invalidate();
public int Invalidate ();
abstract member Invalidate : unit -> int
Public Function Invalidate () As Integer

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

Remarks

COM Signature

From textmgr.idl:

HRESULT IVsTextStreamMarker::Invalidate();  

When the reference count on marker types is decremented to zero, they no longer appear. However, Invalidate must be called to ensure that the marker type is removed from the user interface.

Applies to