次の方法で共有


IVsTextLineMarker.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 IVsTextLineMarker::UnadviseClient();  

When you create a marker using the CreateLineMarker method, 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