IToolboxItemDiscoveryByName.GetItemInfo 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::IToolboxTypeByName ^ type, Microsoft::VisualStudio::Shell::ToolboxItemDiscoveryContext context);
public Microsoft.VisualStudio.Shell.IToolboxItemInfo GetItemInfo (Microsoft.VisualStudio.Shell.IToolboxTypeByName type, Microsoft.VisualStudio.Shell.ToolboxItemDiscoveryContext context);
abstract member GetItemInfo : Microsoft.VisualStudio.Shell.IToolboxTypeByName * Microsoft.VisualStudio.Shell.ToolboxItemDiscoveryContext -> Microsoft.VisualStudio.Shell.IToolboxItemInfo
Public Function GetItemInfo (type As IToolboxTypeByName, context As ToolboxItemDiscoveryContext) As IToolboxItemInfo
Parameters
- type
- IToolboxTypeByName
- context
- ToolboxItemDiscoveryContext
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 may be called on a background thread.