IDispatchImplAttribute Oluşturucular

Tanım

IDispatchImplAttribute sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

IDispatchImplAttribute(Int16)

Belirtilen IDispatchImplType değerle sınıfının yeni bir örneğini IDispatchImplAttribute başlatır.

IDispatchImplAttribute(IDispatchImplType)

Belirtilen IDispatchImplType değerle sınıfının yeni bir örneğini IDispatchImplAttribute başlatır.

IDispatchImplAttribute(Int16)

Kaynak:
IDispatchImplAttribute.cs

Belirtilen IDispatchImplType değerle sınıfının yeni bir örneğini IDispatchImplAttribute başlatır.

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

Parametreler

implType
Int16

Hangi IDispatchImplType numaralandırmanın kullanılacağını gösterir.

Açıklamalar

Bu oluşturucu, her IDispatchImplType numaralandırma üyesini temsil eden temel 16 bit imzalı bir tamsayı alır. Tür Kitaplığı İçeri Aktarıcısı (TlbImp.exe), temsil eden value değere typeref oluşturmaktan kaçınmak için IDispatchImplType bu oluşturucuyu kullanır ve ardından bu belirteçle imzayı oluşturur.

Şunlara uygulanır

IDispatchImplAttribute(IDispatchImplType)

Kaynak:
IDispatchImplAttribute.cs

Belirtilen IDispatchImplType değerle sınıfının yeni bir örneğini IDispatchImplAttribute başlatır.

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)

Parametreler

implType
IDispatchImplType

Hangi IDispatchImplType numaralandırmanın kullanılacağını gösterir.

Açıklamalar

Hataya daha az eğilimli olan okunabilir kodlar için her zaman bu oluşturucuyu kullanın.

Şunlara uygulanır