IDispatchImplAttribute Konstruktorer

Definition

Initierar en ny instans av IDispatchImplAttribute klassen.

Överlagringar

Name Description
IDispatchImplAttribute(Int16)

Initierar en ny instans av IDispatchImplAttribute klassen med angivet IDispatchImplType värde.

IDispatchImplAttribute(IDispatchImplType)

Initierar en ny instans av IDispatchImplAttribute klassen med angivet IDispatchImplType värde.

IDispatchImplAttribute(Int16)

Källa:
IDispatchImplAttribute.cs

Initierar en ny instans av IDispatchImplAttribute klassen med angivet IDispatchImplType värde.

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

Parametrar

implType
Int16

Anger vilken uppräkning som IDispatchImplType ska användas.

Kommentarer

Den här konstruktorn tar ett underliggande 16-bitars signerat heltal som representerar varje IDispatchImplType uppräkningsmedlem. Typbiblioteksimportören (TlbImp.exe) använder den här konstruktorn för att undvika att generera en typef till det IDispatchImplType värde som value representerar och skapar sedan signaturen med den token.

Gäller för

IDispatchImplAttribute(IDispatchImplType)

Källa:
IDispatchImplAttribute.cs

Initierar en ny instans av IDispatchImplAttribute klassen med angivet IDispatchImplType värde.

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)

Parametrar

implType
IDispatchImplType

Anger vilken uppräkning som IDispatchImplType ska användas.

Kommentarer

Använd alltid den här konstruktorn för läsbar kod som är mindre felbenägen.

Gäller för