IDispatchImplAttribute Konstruktorok

Definíció

Inicializálja a IDispatchImplAttribute osztály új példányát.

Túlterhelések

Name Description
IDispatchImplAttribute(Int16)

Inicializálja az osztály új példányát megadott IDispatchImplAttributeIDispatchImplType értékkel.

IDispatchImplAttribute(IDispatchImplType)

Inicializálja az osztály új példányát megadott IDispatchImplAttributeIDispatchImplType értékkel.

IDispatchImplAttribute(Int16)

Forrás:
IDispatchImplAttribute.cs

Inicializálja az osztály új példányát megadott IDispatchImplAttributeIDispatchImplType értékkel.

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

Paraméterek

implType
Int16

Azt jelzi, hogy melyik IDispatchImplType számbavételt fogja használni.

Megjegyzések

Ez a konstruktor egy mögöttes 16 bites aláírt egész számot vesz fel, amely az egyes enumerálási tagokat IDispatchImplType jelöli. A Type Library Importer (TlbImp.exe) ezt a konstruktort használja, hogy IDispatchImplType elkerülje a typeref generálását a value megadott értékhez, majd létrehozza az aláírást ezzel a jogkivonattal.

A következőre érvényes:

IDispatchImplAttribute(IDispatchImplType)

Forrás:
IDispatchImplAttribute.cs

Inicializálja az osztály új példányát megadott IDispatchImplAttributeIDispatchImplType értékkel.

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)

Paraméterek

implType
IDispatchImplType

Azt jelzi, hogy melyik IDispatchImplType számbavételt fogja használni.

Megjegyzések

Az olvasható, a hibákra kevésbé hajlamos kód esetén mindig ezt a konstruktort használja.

A következőre érvényes: