Megosztás a következőn keresztül:


HostEventMethodType Enumeration

Indicates the type of the method in the host application that corresponds to a method in an add-in.

Namespace:  Microsoft.VisualStudio.Tools.Applications.Runtime
Assembly:  Microsoft.VisualStudio.Tools.Applications.Runtime (in Microsoft.VisualStudio.Tools.Applications.Runtime.dll)

Syntax

'Declaration
Public Enumeration HostEventMethodType
public enum HostEventMethodType

Members

Member name Description
Add Indicates that the host method is used to add an event handler to a delegate.
Other Indicates that the host event accessor method type is unspecified, but the runtime should not attempt to determine the type from the method name.
Raise Indicates that the host method raises the event.
Remove Indicates that the host method is used to remove an event handler from a delegate.
Unspecified Indicates that the type of the host event accessor method is not specified. The runtime should determine the type by examining the prefix of the event accessor method name, for example, "add_" or "remove_".

See Also

Reference

Microsoft.VisualStudio.Tools.Applications.Runtime Namespace