Redigera

Dela via


ComAwareEventInfo(Type, String) Constructor

Definition

Initializes a new instance of the ComAwareEventInfo class by using the specified type and a name of the event on the type.

public:
 ComAwareEventInfo(Type ^ type, System::String ^ eventName);
public ComAwareEventInfo (Type type, string eventName);
new System.Runtime.InteropServices.ComAwareEventInfo : Type * string -> System.Runtime.InteropServices.ComAwareEventInfo
Public Sub New (type As Type, eventName As String)

Parameters

type
Type

The type of object.

eventName
String

The name of an event on type.

Applies to