ClassInterfaceAttribute Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a ClassInterfaceAttribute osztály új példányát.
Túlterhelések
| Name | Description |
|---|---|
| ClassInterfaceAttribute(Int16) |
Inicializálja az osztály új példányát ClassInterfaceAttribute a megadott ClassInterfaceType enumerálási értékkel. |
| ClassInterfaceAttribute(ClassInterfaceType) |
Inicializálja az osztály új példányát ClassInterfaceAttribute a megadott ClassInterfaceType enumerálási taggal. |
ClassInterfaceAttribute(Int16)
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
Inicializálja az osztály új példányát ClassInterfaceAttribute a megadott ClassInterfaceType enumerálási értékkel.
public:
ClassInterfaceAttribute(short classInterfaceType);
public ClassInterfaceAttribute(short classInterfaceType);
new System.Runtime.InteropServices.ClassInterfaceAttribute : int16 -> System.Runtime.InteropServices.ClassInterfaceAttribute
Public Sub New (classInterfaceType As Short)
Paraméterek
- classInterfaceType
- Int16
Az osztályhoz létrehozott felület típusát ismerteti.
Megjegyzések
Ez a konstruktor egy mögöttes 16 bites aláírt egész számot vesz fel, amely az egyes enumerálási tagokat ClassInterfaceType jelöli. A Tlbimp.exe (Type Library Importer) ezt a konstruktort használja.
Lásd még
A következőre érvényes:
ClassInterfaceAttribute(ClassInterfaceType)
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
- Forrás:
- ClassInterfaceAttribute.cs
Inicializálja az osztály új példányát ClassInterfaceAttribute a megadott ClassInterfaceType enumerálási taggal.
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)
Paraméterek
- classInterfaceType
- ClassInterfaceType
ClassInterfaceType Az osztályhoz létrehozott felület típusát leíró értékek egyike.
Megjegyzések
Az olvasható, a hibákra kevésbé hajlamos kód esetén mindig ezt a konstruktort használja.