HostEventMethodType Enumeration (2007 System)
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.v9.0 (in Microsoft.VisualStudio.Tools.Applications.Runtime.v9.0.dll)
Syntax
'Declaration
Public Enumeration HostEventMethodType
'Usage
Dim instance As HostEventMethodType
public enum HostEventMethodType
public enum class HostEventMethodType
public enum HostEventMethodType
Members
Member name | Description | |
---|---|---|
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_". | |
Add | Indicates that the host method is used to add an event handler to a delegate. | |
Remove | Indicates that the host method is used to remove an event handler from a delegate. | |
Raise | Indicates that the host method raises the event. | |
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. |