IToolboxItemInfo Interface
Supplies information about a managed type from which a toolbox item can be created.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.11.0 (in Microsoft.VisualStudio.Shell.Immutable.11.0.dll)
Syntax
'宣言
Public Interface IToolboxItemInfo
public interface IToolboxItemInfo
The IToolboxItemInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
DisplayName | Gets the display name of the toolbox item. | |
ExtraInfo | Gets a collection of name-value pairs that will be passed to CreateToolboxItem if the user chooses to create the item. | |
Icon | Gets the icon for the toolbox item as a file path, byte array, Bitmap, or IntPtr. | |
TransparentColor | Gets the background color that will be rendered as transparent in the toolbox image. |
Top
Methods
Name | Description | |
---|---|---|
GetPropertyValue | Returns the corresponding value for this item from a given property identifier. |
Top
Remarks
This interface is implemented by packages and returned from GetItemInfo.