IDispatchImplAttribute Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
IDispatchImplAttribute sınıfının yeni bir örneğini başlatır.
Aşırı Yüklemeler
| Name | Description |
|---|---|
| IDispatchImplAttribute(Int16) |
Belirtilen |
| IDispatchImplAttribute(IDispatchImplType) |
Belirtilen |
IDispatchImplAttribute(Int16)
- Kaynak:
- IDispatchImplAttribute.cs
Belirtilen IDispatchImplAttribute değerle sınıfının yeni bir örneğini IDispatchImplType 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 IDispatchImplType değere bir typeref oluşturmaktan kaçınmak için value bu oluşturucuyu kullanır ve ardından imzayı bu belirteçle oluşturur.
Şunlara uygulanır
IDispatchImplAttribute(IDispatchImplType)
- Kaynak:
- IDispatchImplAttribute.cs
Belirtilen IDispatchImplAttribute değerle sınıfının yeni bir örneğini IDispatchImplType 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 okunabilir kodlar için her zaman bu oluşturucuyu kullanın.