Compartir a través de


IVsUIHierWinClipboardHelper.UnadviseClipboardHelperEvents Method

Disables client notification of hierarchy clipboard helper events without requiring that the hierarchy implement IConnectionPointContainer.

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

Syntax

'Declaración
Function UnadviseClipboardHelperEvents ( _
    dwCookie As UInteger _
) As Integer
'Uso
Dim instance As IVsUIHierWinClipboardHelper
Dim dwCookie As UInteger
Dim returnValue As Integer

returnValue = instance.UnadviseClipboardHelperEvents(dwCookie)
int UnadviseClipboardHelperEvents(
    uint dwCookie
)
int UnadviseClipboardHelperEvents(
    [InAttribute] unsigned int dwCookie
)
function UnadviseClipboardHelperEvents(
    dwCookie : uint
) : int

Parameters

  • dwCookie
    Type: System.UInt32

    [in] Abstract handle to the client that was disabled from receiving notifications of hierarchy clipboard helper events.

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 vsshell.idl:

HRESULT IVsUIHierWinClipboardHelper::UnadviseClipboardHelperEvents(
   [in] VSCOOKIE dwCookie
);

This is the same dwCookie that passed in with the call to AdviseClipboardHelperEvents.

Permissions

See Also

Reference

IVsUIHierWinClipboardHelper Interface

IVsUIHierWinClipboardHelper Members

Microsoft.VisualStudio.Shell.Interop Namespace