共用方式為


Package.GetToolboxItemData Method

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'宣告
Protected Overridable Function GetToolboxItemData ( _
    itemId As String, _
    format As DataFormats..::..Format _
) As Object
'用途
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

Return Value

Type: System.Object

.NET Framework Security

See Also

Reference

Package Class

Package Members

Microsoft.VisualStudio.Shell Namespace