共用方式為


IVsLinkCapableUndoManager.AdviseLinkedUndoClient Method

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

Syntax

'宣告
Function AdviseLinkedUndoClient ( _
    pClient As IVsLinkedUndoClient _
) As Integer
'用途
Dim instance As IVsLinkCapableUndoManager
Dim pClient As IVsLinkedUndoClient
Dim returnValue As Integer

returnValue = instance.AdviseLinkedUndoClient(pClient)
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

IVsLinkCapableUndoManager Members

Microsoft.VisualStudio.TextManager.Interop Namespace