Udostępnij za pośrednictwem


IVsLinkCapableUndoManager.AdviseLinkedUndoClient(IVsLinkedUndoClient) Method

Definition

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  
);  

Applies to