TypeDescriptor.CreateDesigner(IComponent, Type) 메서드

정의

지정된 구성 요소와 연결된 디자이너의 인스턴스 및 지정된 형식의 디자이너의 인스턴스를 만듭니다.

public:
 static System::ComponentModel::Design::IDesigner ^ CreateDesigner(System::ComponentModel::IComponent ^ component, Type ^ designerBaseType);
public static System.ComponentModel.Design.IDesigner CreateDesigner (System.ComponentModel.IComponent component, Type designerBaseType);
public static System.ComponentModel.Design.IDesigner? CreateDesigner (System.ComponentModel.IComponent component, Type designerBaseType);
static member CreateDesigner : System.ComponentModel.IComponent * Type -> System.ComponentModel.Design.IDesigner
Public Shared Function CreateDesigner (component As IComponent, designerBaseType As Type) As IDesigner

매개 변수

component
IComponent

디자이너와 연결할 구성 요소를 지정하는 IComponent입니다.

designerBaseType
Type

만들 디자이너의 형식을 나타내는 Type입니다.

반환

구성 요소에 대한 디자이너의 인스턴스인 IDesigner이거나, 디자이너를 찾을 수 없으면 null입니다.

설명

이 메서드가 유효한 DesignerAttribute를 찾을 수 없는 경우 디자이너에 대한 클래스 계층 구조를 검색합니다. 클래스 계층 구조에서 디자이너를 찾을 수 없는 경우 를 반환합니다 null.

적용 대상

추가 정보