NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

IToolboxService.AddCreator

Adds a new toolbox item creator. A toolbox item creator is used to handle data formats other than the standard native format of the toolbox service. Normally, the standard toolbox service format should be used, as it provides ample opportunity for customization in an object-oriented way. However, there are times when a legacy data format may need to be supported. A toolbox item creator is the mechanism by which these legacy data formats may be converted into toolbox items.

[Visual Basic]
Sub AddCreator( _
   ByVal creator As ToolboxItemCreatorCallback, _
   ByVal format As String _
)
[C#]
void AddCreator(
   ToolboxItemCreatorCallback creator,
   string format
);
[C++]
void AddCreator(
   ToolboxItemCreatorCallback* creator,
   String* format
) = 0;
[JScript]
function AddCreator(
   creator : ToolboxItemCreatorCallback,
   format : String
);

Parameters

creator
The toolbox item creator.
format
The data format this creator responds to. If a creator responds to more than one format, call AddCreator more than once. It is an error to add more than one creator for the same format.

See Also

IToolboxService Interface | IToolboxService Members | System.WinForms.Design Namespace | System.Winforms.Design.ToolboxCreatorCallback