ComDefaultInterfaceAttribute(Type) 생성자

정의

지정된 ComDefaultInterfaceAttribute 개체를 COM에 노출되는 기본 인터페이스로 설정하여 Type 클래스의 새 인스턴스를 초기화합니다.

public:
 ComDefaultInterfaceAttribute(Type ^ defaultInterface);
public ComDefaultInterfaceAttribute (Type defaultInterface);
new System.Runtime.InteropServices.ComDefaultInterfaceAttribute : Type -> System.Runtime.InteropServices.ComDefaultInterfaceAttribute
Public Sub New (defaultInterface As Type)

매개 변수

defaultInterface
Type

COM에 노출할 기본 인터페이스를 나타내는 Type 값입니다.

설명

생성자에 전달된 형식은 defaultInterface COM에 표시되어야 합니다.

적용 대상