IToolboxItemDiscoveryWithContext.GetItemInfo Method

Definition

Returns the IToolboxItemInfo corresponding to a given type. This method should inspect the type of the type argument I 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.

public:
 Microsoft::VisualStudio::Shell::IToolboxItemInfo ^ GetItemInfo(Microsoft::VisualStudio::Shell::IToolboxType ^ type, Microsoft::VisualStudio::Shell::ToolboxItemDiscoveryContext context);
public:
 Microsoft::VisualStudio::Shell::IToolboxItemInfo ^ GetItemInfo(Microsoft::VisualStudio::Shell::IToolboxType ^ type, Microsoft::VisualStudio::Shell::ToolboxItemDiscoveryContext context);
Microsoft::VisualStudio::Shell::IToolboxItemInfo GetItemInfo(Microsoft::VisualStudio::Shell::IToolboxType const & type, Microsoft::VisualStudio::Shell::ToolboxItemDiscoveryContext context);
public Microsoft.VisualStudio.Shell.IToolboxItemInfo GetItemInfo (Microsoft.VisualStudio.Shell.IToolboxType type, Microsoft.VisualStudio.Shell.ToolboxItemDiscoveryContext context);
abstract member GetItemInfo : Microsoft.VisualStudio.Shell.IToolboxType * Microsoft.VisualStudio.Shell.ToolboxItemDiscoveryContext -> Microsoft.VisualStudio.Shell.IToolboxItemInfo
Public Function GetItemInfo (type As IToolboxType, context As ToolboxItemDiscoveryContext) As IToolboxItemInfo

Parameters

type
IToolboxType

The type.

context
ToolboxItemDiscoveryContext

The context.

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.

Applies to