DslDefinitionModelToolboxHelperBase.GetToolboxItemData Method
Given a toolbox item "unique ID" and a data format identifier, returns the content of the data format.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll)
Syntax
'Declaration
Public Overridable Function GetToolboxItemData ( _
itemId As String, _
format As DataFormats.Format _
) As Object
public virtual Object GetToolboxItemData(
string itemId,
DataFormats.Format format
)
public:
virtual Object^ GetToolboxItemData(
String^ itemId,
DataFormats::Format^ format
)
abstract GetToolboxItemData :
itemId:string *
format:DataFormats.Format -> Object
override GetToolboxItemData :
itemId:string *
format:DataFormats.Format -> Object
public function GetToolboxItemData(
itemId : String,
format : DataFormats.Format
) : Object
Parameters
itemId
Type: System.StringThe unique ToolboxItem to retrieve data for
format
Type: System.Windows.Forms.DataFormats.FormatThe desired format of the resulting data
Return Value
Type: System.Object
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.