IVsMonitorSelection.UnadviseSelectionEvents(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);