Share via


IToolboxItemInfo 介面

定義

提供可從中建立工具箱專案之 Managed 型別的相關信息。

public interface class IToolboxItemInfo
public interface class IToolboxItemInfo
__interface IToolboxItemInfo
public interface IToolboxItemInfo
type IToolboxItemInfo = interface
Public Interface IToolboxItemInfo

備註

由套件實作,並透過 IToolboxItemDiscovery.GetItemInfo 提供。

屬性

DisplayName

取得工具箱項目的顯示名稱。

ExtraInfo

取得名稱/值組的集合,如果用戶選擇建立專案,則會傳遞至 IToolboxItemCreator.CreateToolboxItem。

Icon

取得工具箱專案的圖示,做為檔案路徑、位元組陣列、點陣圖或 IntPtr。

TransparentColor

取得背景色彩,將在工具箱影像中呈現為透明。 這可能是 System.Drawing.Color 或 System.Windows.Media.Color。 任何其他類型或 Null 值都會擲回例外狀況。

方法

GetPropertyValue(String)

指定屬性識別碼時,傳回這個項目的對應值。

適用於