Partager via


IVsLinkCapableUndoManager.AdviseLinkedUndoClient Method

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)

Syntax

'Declaration
Function AdviseLinkedUndoClient ( _
    pClient As IVsLinkedUndoClient _
) As Integer
int AdviseLinkedUndoClient(
    IVsLinkedUndoClient pClient
)
int AdviseLinkedUndoClient(
    [InAttribute] IVsLinkedUndoClient^ pClient
)
abstract AdviseLinkedUndoClient : 
        pClient:IVsLinkedUndoClient -> int
function AdviseLinkedUndoClient(
    pClient : IVsLinkedUndoClient
) : int

Parameters

Return Value

Type: System.Int32
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
);

.NET Framework Security

See Also

Reference

IVsLinkCapableUndoManager Interface

Microsoft.VisualStudio.TextManager.Interop Namespace