IVsTextMarker.UnadviseClient Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsTextMarker::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.