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 System::Object ^ GetToolboxItemData(System::String ^ itemId, System::Windows::Forms::DataFormats::Format ^ 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
Protected Overridable Function GetToolboxItemData (itemId As String, format As DataFormats.Format) As Object

Parameters

itemId
String

The item ID.

format
DataFormats.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