IToolboxItemDiscovery.GetItemInfo(IToolboxType) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the IToolboxItemInfo corresponding to a given type.
public:
Microsoft::VisualStudio::Shell::IToolboxItemInfo ^ GetItemInfo(Microsoft::VisualStudio::Shell::IToolboxType ^ type);
public:
Microsoft::VisualStudio::Shell::IToolboxItemInfo ^ GetItemInfo(Microsoft::VisualStudio::Shell::IToolboxType ^ type);
Microsoft::VisualStudio::Shell::IToolboxItemInfo GetItemInfo(Microsoft::VisualStudio::Shell::IToolboxType const & type);
public Microsoft.VisualStudio.Shell.IToolboxItemInfo GetItemInfo (Microsoft.VisualStudio.Shell.IToolboxType type);
abstract member GetItemInfo : Microsoft.VisualStudio.Shell.IToolboxType -> Microsoft.VisualStudio.Shell.IToolboxItemInfo
Public Function GetItemInfo (type As IToolboxType) As IToolboxItemInfo
Parameters
- type
- IToolboxType
A valid toolbox control type.
Returns
The info 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). See the IToolbox*Type interfaces that derive from IToolboxType.
This method may be called on a background thread.