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
'Déclaration
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
- pClient
Type: Microsoft.VisualStudio.TextManager.Interop.IVsLinkedUndoClient
[in] The linked undo client.
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.