ToolboxItemDiscoveryContext Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates the context in which GetItemInfo(IToolboxType, ToolboxItemDiscoveryContext) is being called.
public enum class ToolboxItemDiscoveryContext
public enum class ToolboxItemDiscoveryContext
enum ToolboxItemDiscoveryContext
public enum ToolboxItemDiscoveryContext
type ToolboxItemDiscoveryContext =
Public Enum ToolboxItemDiscoveryContext
- Inheritance
-
ToolboxItemDiscoveryContext
Fields
Name | Value | Description |
---|---|---|
AutoAddingToToolbox | 0 | If GetItemInfo(IToolboxType, ToolboxItemDiscoveryContext) returns non-null, the item will be automatically added to the toolbox. |
ListingAddableItems | 1 | If GetItemInfo(IToolboxType, ToolboxItemDiscoveryContext) returns non-null, the item will be added to a list of types in the Choose Toolbox Items dialog which the user may add to the toolbox. |