Package.GetToolboxItemData(String, DataFormats+Format) Package.GetToolboxItemData(String, DataFormats+Format) Method

Definition

Gets the content of the data format for the specified toolbox item ID and data format.

protected virtual object GetToolboxItemData (string itemId, System.Windows.Forms.DataFormats.Format format);
abstract member GetToolboxItemData : string * System.Windows.Forms.DataFormats.Format -> obj
override this.GetToolboxItemData : string * System.Windows.Forms.DataFormats.Format -> obj
Parameters
itemId
String String

The item ID.

format

The data format.

Returns

The content of the data format.

Remarks

If this is not implemented, the shell will fall back to a call to ResetDefaults which invokes the ToolboxInitialized or ToolboxUpgraded events.

Applies to