InterfaceTypeAttribute 생성자

정의

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

오버로드

InterfaceTypeAttribute(Int16)

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

InterfaceTypeAttribute(ComInterfaceType)

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

InterfaceTypeAttribute(Int16)

Source:
InterfaceTypeAttribute.cs
Source:
InterfaceTypeAttribute.cs
Source:
InterfaceTypeAttribute.cs

지정된 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)

Source:
InterfaceTypeAttribute.cs
Source:
InterfaceTypeAttribute.cs
Source:
InterfaceTypeAttribute.cs

지정된 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 값 중 하나입니다.

설명

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

적용 대상