IVsLinkCapableUndoManager::AdviseLinkedUndoClient Method (IVsLinkedUndoClient^)

 

Specifies that the given client is the linked undo client for this manager.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int AdviseLinkedUndoClient(
	IVsLinkedUndoClient^ pClient
)

Parameters

pClient
Type: Microsoft.VisualStudio.TextManager.Interop::IVsLinkedUndoClient^

[in] The linked undo client.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsLinkCapableUndoManager::AdviseLinkedUndoClient(
   [in] IVsLinkedUndoClient *pClient
);
Return to top
Show: