ToolboxService.GetToolboxItem 메서드

정의

지정된 형식에 대한 도구 상자 항목을 반환합니다.

오버로드

Name Description
GetToolboxItem(Type)

지정된 형식에 대한 도구 상자 항목을 반환합니다.

GetToolboxItem(Type, Boolean)

지정된 형식에 대한 도구 상자 항목을 반환합니다.

GetToolboxItem(Type)

지정된 형식에 대한 도구 상자 항목을 반환합니다.

public:
 static System::Drawing::Design::ToolboxItem ^ GetToolboxItem(Type ^ toolType);
public static System.Drawing.Design.ToolboxItem GetToolboxItem(Type toolType);
static member GetToolboxItem : Type -> System.Drawing.Design.ToolboxItem
Public Shared Function GetToolboxItem (toolType As Type) As ToolboxItem

매개 변수

toolType
Type

도구 상자 항목을 검색할 구성 요소의 형식입니다.

반품

지정된 형식과 연결된 도구 상자 항목이거나 null 형식에 해당하는 도구 상자 항목이 없는 경우

예외

toolTypenull입니다.

적용 대상

GetToolboxItem(Type, Boolean)

지정된 형식에 대한 도구 상자 항목을 반환합니다.

public:
 static System::Drawing::Design::ToolboxItem ^ GetToolboxItem(Type ^ toolType, bool nonPublic);
public static System.Drawing.Design.ToolboxItem GetToolboxItem(Type toolType, bool nonPublic);
static member GetToolboxItem : Type * bool -> System.Drawing.Design.ToolboxItem
Public Shared Function GetToolboxItem (toolType As Type, nonPublic As Boolean) As ToolboxItem

매개 변수

toolType
Type

도구 상자 항목을 검색할 구성 요소의 형식입니다.

nonPublic
Boolean

true 형식에서 공용이 아닌 생성자를 검색하려면 입니다. false 공용 생성자를 검색합니다.

반품

지정된 형식과 연결된 도구 상자 항목이거나 null 형식에 해당하는 도구 상자 항목이 없는 경우

예외

toolTypenull입니다.

적용 대상