Freigeben über


IToolboxItemDiscovery.GetItemInfo(IToolboxType) Methode

Definition

Gibt die IToolboxItemInfo zurück, die einem bestimmten Typ entspricht.

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

Parameter

type
IToolboxType

Ein gültiger Toolboxsteuerelementtyp.

Gibt zurück

Die Informationen zu diesem Typ oder NULL, wenn der Typ kein gültiger Toolboxsteuerelementtyp ist, der von diesem Anbieter erkannt wird.

Hinweise

Diese Methode sollte den Typ des type Arguments überprüfen, wenn je nach Quelle des Typs (z. B. ein Erweiterungs-SDK) unterschiedliche Informationen bereitgestellt werden müssen. Weitere Informationen finden Sie unter IToolbox*Type-Schnittstellen, die von IToolboxType abgeleitet werden.

Diese Methode kann in einem Hintergrundthread aufgerufen werden.

Gilt für: