संपादित करें

इसके माध्यम से साझा किया गया


ToolboxService.IToolboxService.AddCreator Method

Definition

Adds a new toolbox item creator for a specified data format.

Overloads

IToolboxService.AddCreator(ToolboxItemCreatorCallback, String)

For a description of this member, see the AddCreator(ToolboxItemCreatorCallback, String) method.

IToolboxService.AddCreator(ToolboxItemCreatorCallback, String, IDesignerHost)

For a description of this member, see the AddCreator(ToolboxItemCreatorCallback, String, IDesignerHost) method.

IToolboxService.AddCreator(ToolboxItemCreatorCallback, String)

For a description of this member, see the AddCreator(ToolboxItemCreatorCallback, String) method.

 virtual void System.Drawing.Design.IToolboxService.AddCreator(System::Drawing::Design::ToolboxItemCreatorCallback ^ creator, System::String ^ format) = System::Drawing::Design::IToolboxService::AddCreator;
void IToolboxService.AddCreator (System.Drawing.Design.ToolboxItemCreatorCallback creator, string format);
abstract member System.Drawing.Design.IToolboxService.AddCreator : System.Drawing.Design.ToolboxItemCreatorCallback * string -> unit
override this.System.Drawing.Design.IToolboxService.AddCreator : System.Drawing.Design.ToolboxItemCreatorCallback * string -> unit
Sub AddCreator (creator As ToolboxItemCreatorCallback, format As String) Implements IToolboxService.AddCreator

Parameters

creator
ToolboxItemCreatorCallback

A ToolboxItemCreatorCallback that can create a component when the toolbox item is invoked.

format
String

The data format that the creator handles.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ToolboxService instance is cast to an IToolboxService interface.

Applies to

IToolboxService.AddCreator(ToolboxItemCreatorCallback, String, IDesignerHost)

For a description of this member, see the AddCreator(ToolboxItemCreatorCallback, String, IDesignerHost) method.

 virtual void System.Drawing.Design.IToolboxService.AddCreator(System::Drawing::Design::ToolboxItemCreatorCallback ^ creator, System::String ^ format, System::ComponentModel::Design::IDesignerHost ^ host) = System::Drawing::Design::IToolboxService::AddCreator;
void IToolboxService.AddCreator (System.Drawing.Design.ToolboxItemCreatorCallback creator, string format, System.ComponentModel.Design.IDesignerHost host);
abstract member System.Drawing.Design.IToolboxService.AddCreator : System.Drawing.Design.ToolboxItemCreatorCallback * string * System.ComponentModel.Design.IDesignerHost -> unit
override this.System.Drawing.Design.IToolboxService.AddCreator : System.Drawing.Design.ToolboxItemCreatorCallback * string * System.ComponentModel.Design.IDesignerHost -> unit
Sub AddCreator (creator As ToolboxItemCreatorCallback, format As String, host As IDesignerHost) Implements IToolboxService.AddCreator

Parameters

creator
ToolboxItemCreatorCallback

A ToolboxItemCreatorCallback that can create a component when the toolbox item is invoked.

format
String

The data format that the creator handles.

host
IDesignerHost

The IDesignerHost that represents the designer host to associate with the creator.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the ToolboxService instance is cast to an IToolboxService interface.

Applies to