ProvideToolboxItemDiscoveryAttribute Constructor
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.
Initializes a new instance of the ProvideToolboxItemDiscoveryAttribute class.
public:
ProvideToolboxItemDiscoveryAttribute(System::String ^ name, System::String ^ helpKeyword, Type ^ discoveryType, Type ^ itemCreatorType, cli::array <System::String ^> ^ frameworksToEnumerate);
public:
ProvideToolboxItemDiscoveryAttribute(Platform::String ^ name, Platform::String ^ helpKeyword, Platform::Type ^ discoveryType, Platform::Type ^ itemCreatorType, Platform::Array <Platform::String ^> ^ frameworksToEnumerate);
public ProvideToolboxItemDiscoveryAttribute (string name, string helpKeyword, Type discoveryType, Type itemCreatorType, string[] frameworksToEnumerate);
new Microsoft.VisualStudio.Shell.ProvideToolboxItemDiscoveryAttribute : string * string * Type * Type * string[] -> Microsoft.VisualStudio.Shell.ProvideToolboxItemDiscoveryAttribute
Public Sub New (name As String, helpKeyword As String, discoveryType As Type, itemCreatorType As Type, frameworksToEnumerate As String())
Parameters
- name
- String
The name of this item type (e.g. ".NET Framework Components"). If localizable, this should be a resource ID.
- helpKeyword
- String
The help keyword for this item type.
- discoveryType
- Type
The type of a class implementing IToolboxItemDiscovery.
- itemCreatorType
- Type
The type of a class implementing IToolboxItemCreator.
- frameworksToEnumerate
- String[]
A collection of framework IDs indicating the frameworks that should be enumerated to populate the list in this item type's "Choose Toolbox Items" page.
Remarks
Provides the name of this item type (for example, ".NET Framework Components"). If localizable, this should be a resource ID.