ClassInterfaceAttribute 생성자

정의

ClassInterfaceAttribute 클래스의 새 인스턴스를 초기화합니다.

오버로드

ClassInterfaceAttribute(Int16)

지정된 ClassInterfaceAttribute 열거형 값을 사용하여 ClassInterfaceType 클래스의 새 인스턴스를 초기화합니다.

ClassInterfaceAttribute(ClassInterfaceType)

지정된 ClassInterfaceAttribute 열거형 멤버를 사용하여 ClassInterfaceType 클래스의 새 인스턴스를 초기화합니다.

ClassInterfaceAttribute(Int16)

Source:
ClassInterfaceAttribute.cs
Source:
ClassInterfaceAttribute.cs
Source:
ClassInterfaceAttribute.cs

지정된 ClassInterfaceAttribute 열거형 값을 사용하여 ClassInterfaceType 클래스의 새 인스턴스를 초기화합니다.

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

매개 변수

classInterfaceType
Int16

클래스에 대해 생성되는 인터페이스의 형식을 설명합니다.

설명

이 생성자는 기본 16 비트 부호 있는 정수로 각각 나타내는 ClassInterfaceType 열거형 멤버입니다. Tlbimp.exe(형식 라이브러리 가져오기)는 이 생성자를 사용합니다.

추가 정보

적용 대상

ClassInterfaceAttribute(ClassInterfaceType)

Source:
ClassInterfaceAttribute.cs
Source:
ClassInterfaceAttribute.cs
Source:
ClassInterfaceAttribute.cs

지정된 ClassInterfaceAttribute 열거형 멤버를 사용하여 ClassInterfaceType 클래스의 새 인스턴스를 초기화합니다.

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)

매개 변수

classInterfaceType
ClassInterfaceType

클래스에 대해 생성된 인터페이스의 형식을 설명하는 ClassInterfaceType 값 중 하나입니다.

설명

오류 발생 우려가 적은 읽을 수 있는 코드의 경우 항상이 생성자를 사용 합니다.

적용 대상