IToolboxItemDiscovery.GetItemInfo(IToolboxType) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengembalikan IToolboxItemInfo yang terkait dengan jenis tertentu.
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
Jenis kontrol kotak alat yang valid.
Mengembalikan
Info tentang jenis ini, atau null jika jenisnya bukan tipe kontrol kotak alat yang valid yang dikenali oleh penyedia ini.
Keterangan
Metode ini harus memeriksa jenis type argumen jika perlu memberikan informasi yang berbeda tergantung pada sumber jenisnya (seperti SDK ekstensi). Lihat antarmuka IToolbox*Type yang berasal dari IToolboxType.
Metode ini dapat dipanggil pada utas latar belakang.