IVsTextStreamMarker.UnadviseClient Method

Definition

Unadvises the client, if there is one.

public:
 int UnadviseClient();
public:
 int UnadviseClient();
int UnadviseClient();
public int UnadviseClient ();
abstract member UnadviseClient : unit -> int
Public Function UnadviseClient () 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::UnadviseClient();  

When you create a marker using CreateLineMarker, you pass in a pointer to your implementation of IVsTextMarkerClient, which allows you to receive event notification associated with that marker type. Use UnadviseClient to disable event notification.

Applies to