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
- pClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoClient
[in] Pointer to an IVsLinkedUndoClient interface.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsLinkCapableUndoManager Interface