共用方式為


IToolboxItemDiscovery.GetItemInfo Method

Returns the IToolboxItemInfo corresponding to a given type.

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

Syntax

'宣告
Function GetItemInfo ( _
    type As IToolboxType _
) As IToolboxItemInfo
IToolboxItemInfo GetItemInfo(
    IToolboxType type
)

Parameters

Return Value

Type: Microsoft.VisualStudio.Shell.IToolboxItemInfo
The information about this type, or null if the type is not a valid toolbox control type recognized by this provider.

Remarks

This method should inspect the type of the type argument if it needs to provide different information depending on the source of the type, such as an extension SDK (such as the IToolbox*Type interfaces that derive from IToolboxType).

This method can be called on a background thread.

.NET Framework Security

See Also

Reference

IToolboxItemDiscovery Interface

Microsoft.VisualStudio.Shell Namespace