共用方式為


IToolboxItemCreator.GetItemInfo Method

Returns information about a control installed on the toolbox.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)

Syntax

'宣告
Function GetItemInfo ( _
    toolboxItem As IDataObject _
) As IInstalledToolboxItemInfo
IInstalledToolboxItemInfo GetItemInfo(
    IDataObject toolboxItem
)

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.IInstalledToolboxItemInfo
The information about this item, or null if the item is not recognized by this provider.

Remarks

This method can be called on a background thread.

.NET Framework Security

See Also

Reference

IToolboxItemCreator Interface

Microsoft.VisualStudio.Shell Namespace