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!

ToolboxItemCreatorCallback Delegate

This delegate is used by the toolbox service to create a toolbox item for a custom data object format.

[Visual Basic]
Public Delegate Sub ToolboxItemCreatorCallback( _
   ByVal dataObject As IDataObject, _
   ByVal format As String _
) As ToolboxItem
[C#]
public delegate ToolboxItem ToolboxItemCreatorCallback(
   IDataObject dataObject,
   string format
);
[C++]
public __gc __delegate ToolboxItem* ToolboxItemCreatorCallback(
   IDataObject* dataObject,
   String* format
);

[JScript] In JScript, you can use the delegates in the NGWS frameworks, but you cannot define your own.

Parameters [Visual Basic, C#, C++]

The declaration of your event-handling method must have the same parameters as the ToolboxItemCreatorCallback delegate declaration.

Remarks

[To be supplied.]

Requirements

Namespace: System.WinForms.Design

Assembly: System.WinForms.dll

See Also

System.WinForms.Design Namespace