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
'Declaración
Function GetItemInfo ( _
type As IToolboxType _
) As IToolboxItemInfo
IToolboxItemInfo GetItemInfo(
IToolboxType type
)
Parameters
- type
Type: Microsoft.VisualStudio.Shell.IToolboxType
A valid toolbox control type.
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
- 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.