HostEventAttribute Class

 

Relates an event in a proxy type to an event in the host application.

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

System::Object
  System::Attribute
    Microsoft.VisualStudio.Tools.Applications.Runtime::HostEventAttribute

[AttributeUsageAttribute(AttributeTargets::Method, AllowMultiple = false, 
	Inherited = false)]
public ref class HostEventAttribute sealed : Attribute

NameDescription
System_CAPS_pubmethodHostEventAttribute(Int32)

Initializes a new instance of the HostEventAttribute class.

NameDescription
System_CAPS_pubpropertyDispId

Gets the dispatch ID of the COM event for which the event marked with this HostEventAttribute is a proxy.

System_CAPS_pubpropertyHostEventMethodType

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.

System_CAPS_pubpropertyTypeId

(Inherited from Attribute.)

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object^)

(Inherited from Attribute.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: