Partilhar via


DslDefinitionModelToolboxHelperBase.GetToolboxItemData Method

Definition

Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.

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

Parameters

itemId
String

The unique ToolboxItem to retrieve data for

format
DataFormats.Format

The desired format of the resulting data

Returns

Applies to