Package.GetToolboxItemData(String, DataFormats+Format) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.