Freigeben über


IToolboxItemDiscoveryByName.GetItemInfo Method

Definition

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

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.

Applies to