ToolboxItemDiscoveryContext Enumeration

Visual Studio 2015
 

Indicates the context in which IToolboxItemDiscoveryWithContext.GetItemInfo is being called.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.Immutable.14.0 (in Microsoft.VisualStudio.Shell.Immutable.14.0.dll)

public enum ToolboxItemDiscoveryContext

Member nameDescription
AutoAddingToToolbox

If IToolboxItemDiscoveryWithContext.GetItemInfo returns non-null, the item will be automatically added to the toolbox.

ListingAddableItems

If IToolboxItemDiscoveryWithContext.GetItemInfo 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.

Return to top
Show: