Partager via


IEventHandler Interface

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
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Déclaration
<GuidAttribute("9BDA66AE-CA28-4e22-AA27-8A7218A0E3FA")> _
<InterfaceTypeAttribute(ComInterfaceType.InterfaceIsIUnknown)> _
<CLSCompliantAttribute(False)> _
Public Interface IEventHandler
'Utilisation
Dim instance As 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

See Also

Reference

IEventHandler Members

Microsoft.VisualStudio Namespace