ClassInterfaceAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the ClassInterfaceAttribute class.
Overloads
ClassInterfaceAttribute(Int16) |
Initializes a new instance of the ClassInterfaceAttribute class with the specified ClassInterfaceType enumeration value. |
ClassInterfaceAttribute(ClassInterfaceType) |
Initializes a new instance of the ClassInterfaceAttribute class with the specified ClassInterfaceType enumeration member. |
ClassInterfaceAttribute(Int16)
- Source:
- ClassInterfaceAttribute.cs
- Source:
- ClassInterfaceAttribute.cs
- Source:
- ClassInterfaceAttribute.cs
Initializes a new instance of the ClassInterfaceAttribute class with the specified ClassInterfaceType enumeration value.
public:
ClassInterfaceAttribute(short classInterfaceType);
public ClassInterfaceAttribute (short classInterfaceType);
new System.Runtime.InteropServices.ClassInterfaceAttribute : int16 -> System.Runtime.InteropServices.ClassInterfaceAttribute
Public Sub New (classInterfaceType As Short)
Parameters
- classInterfaceType
- Int16
Describes the type of interface that is generated for a class.
Remarks
This constructor takes an underlying 16-bit signed integer that represents each ClassInterfaceType enumeration member. The Tlbimp.exe (Type Library Importer) uses this constructor.
See also
Applies to
ClassInterfaceAttribute(ClassInterfaceType)
- Source:
- ClassInterfaceAttribute.cs
- Source:
- ClassInterfaceAttribute.cs
- Source:
- ClassInterfaceAttribute.cs
Initializes a new instance of the ClassInterfaceAttribute class with the specified ClassInterfaceType enumeration member.
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)
Parameters
- classInterfaceType
- ClassInterfaceType
One of the ClassInterfaceType values that describes the type of interface that is generated for a class.
Remarks
For readable code that is less prone to error, always use this constructor.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示