Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the content of the data format for the specified toolbox item ID and data format.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
Syntax
'Declaration
Protected Overridable Function GetToolboxItemData ( _
itemId As String, _
format As Format _
) As Object
protected virtual Object GetToolboxItemData(
string itemId,
Format format
)
protected:
virtual Object^ GetToolboxItemData(
String^ itemId,
Format^ format
)
abstract GetToolboxItemData :
itemId:string *
format:Format -> Object
override GetToolboxItemData :
itemId:string *
format:Format -> Object
protected function GetToolboxItemData(
itemId : String,
format : Format
) : Object
Parameters
itemId
Type: StringThe item ID.
format
Type: FormatThe data format.
Return Value
Type: Object
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.
.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.