Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Provides the methods necessary to add, remove, and test for the existence of handlers in an event handler collection.
This API is not CLS-compliant.
Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
<GuidAttribute("9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<CLSCompliantAttribute(False)> _
Public Interface IEventHandler
[GuidAttribute("9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA")]
[InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)]
[CLSCompliantAttribute(false)]
public interface IEventHandler
[GuidAttribute(L"9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA")]
[InterfaceTypeAttribute(ComInterfaceType::InterfaceIsIUnknown)]
[CLSCompliantAttribute(false)]
public interface class IEventHandler
[<GuidAttribute("9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA")>]
[<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)>]
[<CLSCompliantAttribute(false)>]
type IEventHandler = interface end
public interface IEventHandler
The IEventHandler type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
AddHandler | When implemented by a derived class, adds a named handler to an event handler collection. |
![]() |
GetHandledEvents | When implemented by a derived class, returns an enumerator over all the handlers added by successive calls to AddHandler. |
![]() |
HandlesEvent | When implemented by a derived class, determines whether a named handler is in the event handler collection. |
![]() |
RemoveHandler | When implemented by a derived class, removes a named handler from the collection of event handlers. |
Top