Package.GetToolboxItemData Method
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Declaration
Protected Overridable Function GetToolboxItemData ( _
itemId As String, _
format As DataFormats..::..Format _
) As Object
'Usage
Dim itemId As String
Dim format As DataFormats..::..Format
Dim returnValue As Object
returnValue = Me.GetToolboxItemData(itemId, _
format)
protected virtual Object GetToolboxItemData(
string itemId,
DataFormats..::..Format format
)
protected:
virtual Object^ GetToolboxItemData(
String^ itemId,
DataFormats..::..Format^ format
)
abstract GetToolboxItemData :
itemId:string *
format:DataFormats..::..Format -> Object
override GetToolboxItemData :
itemId:string *
format:DataFormats..::..Format -> Object
protected function GetToolboxItemData(
itemId : String,
format : DataFormats..::..Format
) : Object
Parameters
- itemId
Type: System.String
- format
Type: System.Windows.Forms.DataFormats.Format
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.