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);
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

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

반품

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

설명

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

적용 대상

추가 정보