Freigeben über


IVsChangeTrackingUndoManager.UnadviseTrackingClient Method

Definition

Advises the Undo Manager that you no longer want to receive notification of when the document is clean.

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

UnadviseTrackingClient tells the Undo Manager that undo notification is no longer wanted.

Note

This method does not call AddRef or Release on pUndoTrackingEvents. Therefore you must call UnadviseTrackingClient before you release your reference to the undo manager.

Applies to