IVsChangeTrackingUndoManager.UnadviseTrackingClient 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.
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.