InterfaceTypeAttribute 생성자

정의

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

오버로드

Name Description
InterfaceTypeAttribute(Int16)

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

InterfaceTypeAttribute(ComInterfaceType)

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

InterfaceTypeAttribute(Int16)

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

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

매개 변수

interfaceType
Int16

COM 클라이언트에 인터페이스를 노출하는 방법을 설명합니다.

설명

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

추가 정보

적용 대상

InterfaceTypeAttribute(ComInterfaceType)

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

public:
 InterfaceTypeAttribute(System::Runtime::InteropServices::ComInterfaceType interfaceType);
public InterfaceTypeAttribute(System.Runtime.InteropServices.ComInterfaceType interfaceType);
new System.Runtime.InteropServices.InterfaceTypeAttribute : System.Runtime.InteropServices.ComInterfaceType -> System.Runtime.InteropServices.InterfaceTypeAttribute
Public Sub New (interfaceType As ComInterfaceType)

매개 변수

interfaceType
ComInterfaceType

COM 클라이언트에 ComInterfaceType 인터페이스를 노출하는 방법을 설명하는 값 중 하나입니다.

설명

오류가 발생하기 쉬운 읽기 가능한 코드의 경우 항상 이 생성자를 사용합니다.

적용 대상