Event Attribute Class
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.
Relates an event in a proxy type to an event in the host application.
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=false)] public sealed class HostEventAttribute : Attribute
Initializes a new instance of the HostEventAttribute class.
Gets the dispatch ID of the COM event for which the event marked with this HostEventAttribute is a proxy.
Gets or sets a value that specifies the kind of event accessor method the host application will use for this event in the proxy type.