ClassInterfaceAttribute Oluşturucular

Tanım

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

Aşırı Yüklemeler

ClassInterfaceAttribute(Int16)

Belirtilen ClassInterfaceType numaralandırma değeriyle sınıfının yeni bir örneğini ClassInterfaceAttribute başlatır.

ClassInterfaceAttribute(ClassInterfaceType)

Belirtilen ClassInterfaceType numaralandırma üyesiyle sınıfının yeni bir örneğini ClassInterfaceAttribute başlatır.

ClassInterfaceAttribute(Int16)

Belirtilen ClassInterfaceType numaralandırma değeriyle sınıfının yeni bir örneğini ClassInterfaceAttribute başlatır.

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

Parametreler

classInterfaceType
Int16

Bir sınıf için oluşturulan arabirimin türünü açıklar.

Açıklamalar

Bu oluşturucu, her ClassInterfaceType numaralandırma üyesini temsil eden temel 16 bit imzalı bir tamsayı alır. Tlbimp.exe (Tür Kitaplığı İçeri Aktarıcısı) bu oluşturucuyu kullanır.

Ayrıca bkz.

Şunlara uygulanır

ClassInterfaceAttribute(ClassInterfaceType)

Belirtilen ClassInterfaceType numaralandırma üyesiyle sınıfının yeni bir örneğini ClassInterfaceAttribute başlatır.

public:
 ClassInterfaceAttribute(System::Runtime::InteropServices::ClassInterfaceType classInterfaceType);
public ClassInterfaceAttribute (System.Runtime.InteropServices.ClassInterfaceType classInterfaceType);
new System.Runtime.InteropServices.ClassInterfaceAttribute : System.Runtime.InteropServices.ClassInterfaceType -> System.Runtime.InteropServices.ClassInterfaceAttribute
Public Sub New (classInterfaceType As ClassInterfaceType)

Parametreler

classInterfaceType
ClassInterfaceType

ClassInterfaceType Bir sınıf için oluşturulan arabirimin türünü açıklayan değerlerden biri.

Açıklamalar

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

Şunlara uygulanır