Condividi tramite


IVsMonitorSelection.UnadviseSelectionEvents(UInt32) Method

Definition

Cancels a registration for selection event notification.

public:
 int UnadviseSelectionEvents(System::UInt32 dwCookie);
public:
 int UnadviseSelectionEvents(unsigned int dwCookie);
int UnadviseSelectionEvents(unsigned int dwCookie);
public int UnadviseSelectionEvents (uint dwCookie);
abstract member UnadviseSelectionEvents : uint32 -> int
Public Function UnadviseSelectionEvents (dwCookie As UInteger) As Integer

Parameters

dwCookie
UInt32

[in] Abstract handle representing the registration to be cancelled. VSPackages that register for notification receive an abstract handle representing their registration when they call AdviseSelectionEvents(IVsSelectionEvents, UInt32).

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsMonitorSelection::UnadviseSelectionEvents(  
   [in] VSCOOKIE dwCookie  
);  

Applies to