IDispatchImplAttribute Konstruktoren

Definition

Initialisiert eine neue Instanz der IDispatchImplAttribute-Klasse.

Überlädt

Name Beschreibung
IDispatchImplAttribute(Int16)

Initialisiert eine neue Instanz der IDispatchImplAttribute Klasse mit dem angegebenen IDispatchImplType Wert.

IDispatchImplAttribute(IDispatchImplType)

Initialisiert eine neue Instanz der IDispatchImplAttribute Klasse mit dem angegebenen IDispatchImplType Wert.

IDispatchImplAttribute(Int16)

Quelle:
IDispatchImplAttribute.cs

Initialisiert eine neue Instanz der IDispatchImplAttribute Klasse mit dem angegebenen IDispatchImplType Wert.

public:
 IDispatchImplAttribute(short implType);
public IDispatchImplAttribute(short implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : int16 -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As Short)

Parameter

implType
Int16

Gibt an, welche IDispatchImplType Aufzählung verwendet wird.

Hinweise

Dieser Konstruktor verwendet eine zugrunde liegende ganze 16-Bit-Ganzzahl, die jedes IDispatchImplType Enumerationselement darstellt. Der Typbibliotheksimporteur (TlbImp.exe) verwendet diesen Konstruktor, um zu vermeiden, dass ein Typeref für den Wert generiert wird, IDispatchImplType der value darstellt, und erstellt dann die Signatur mit diesem Token.

Gilt für:

IDispatchImplAttribute(IDispatchImplType)

Quelle:
IDispatchImplAttribute.cs

Initialisiert eine neue Instanz der IDispatchImplAttribute Klasse mit dem angegebenen IDispatchImplType Wert.

public:
 IDispatchImplAttribute(System::Runtime::InteropServices::IDispatchImplType implType);
public IDispatchImplAttribute(System.Runtime.InteropServices.IDispatchImplType implType);
new System.Runtime.InteropServices.IDispatchImplAttribute : System.Runtime.InteropServices.IDispatchImplType -> System.Runtime.InteropServices.IDispatchImplAttribute
Public Sub New (implType As IDispatchImplType)

Parameter

implType
IDispatchImplType

Gibt an, welche IDispatchImplType Aufzählung verwendet wird.

Hinweise

Verwenden Sie für lesbaren Code, der weniger fehleranfällig ist, immer diesen Konstruktor.

Gilt für: