GetToolboxItemData Method

Package.GetToolboxItemData Method (String, DataFormats.Format)


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

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

protected virtual object GetToolboxItemData(
	string itemId,
	DataFormats.Format format


Type: System.String

The item ID.

Type: System.Windows.Forms.DataFormats.Format

The data format.

Return Value

Type: System.Object

The content of the data format.

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

Return to top
© 2015 Microsoft