IDispatchImplAttribute Constructors

Definitie

Initialiseert een nieuw exemplaar van de IDispatchImplAttribute klasse.

Overloads

Name Description
IDispatchImplAttribute(Int16)

Initialiseert een nieuw exemplaar van de IDispatchImplAttribute klasse met een opgegeven IDispatchImplType waarde.

IDispatchImplAttribute(IDispatchImplType)

Initialiseert een nieuw exemplaar van de IDispatchImplAttribute klasse met een opgegeven IDispatchImplType waarde.

IDispatchImplAttribute(Int16)

Bron:
IDispatchImplAttribute.cs

Initialiseert een nieuw exemplaar van de IDispatchImplAttribute klasse met een opgegeven IDispatchImplType waarde.

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

Parameters

implType
Int16

Geeft aan welke IDispatchImplType opsomming wordt gebruikt.

Opmerkingen

Deze constructor gebruikt een onderliggend 16-bits geheel getal dat elk IDispatchImplType opsommingslid vertegenwoordigt. De Type Library Importer (TlbImp.exe) gebruikt deze constructor om te voorkomen dat een typeref wordt gegenereerd voor de IDispatchImplType waarde die value vertegenwoordigt en vervolgens de handtekening met dat token maakt.

Van toepassing op

IDispatchImplAttribute(IDispatchImplType)

Bron:
IDispatchImplAttribute.cs

Initialiseert een nieuw exemplaar van de IDispatchImplAttribute klasse met een opgegeven IDispatchImplType waarde.

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)

Parameters

implType
IDispatchImplType

Geeft aan welke IDispatchImplType opsomming wordt gebruikt.

Opmerkingen

Gebruik deze constructor altijd voor leesbare code die minder gevoelig is voor fouten.

Van toepassing op