IVsLinkCapableUndoManager.AdviseLinkedUndoClient(IVsLinkedUndoClient) 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.
Specifies that the given client is the linked undo client for this manager.
public:
int AdviseLinkedUndoClient(Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoClient ^ pClient);
public:
int AdviseLinkedUndoClient(Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoClient ^ pClient);
int AdviseLinkedUndoClient(Microsoft::VisualStudio::TextManager::Interop::IVsLinkedUndoClient const & pClient);
public int AdviseLinkedUndoClient (Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoClient pClient);
abstract member AdviseLinkedUndoClient : Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoClient -> int
Public Function AdviseLinkedUndoClient (pClient As IVsLinkedUndoClient) As Integer
Parameters
- pClient
- IVsLinkedUndoClient
[in] The linked undo client.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From textmgr.idl:
HRESULT IVsLinkCapableUndoManager::AdviseLinkedUndoClient(
[in] IVsLinkedUndoClient *pClient
);