Share via


ProvideToolboxItemDiscoveryAttribute Constructor

Initializes a new instance of the ProvideToolboxItemDiscoveryAttribute class.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    helpKeyword As String, _
    discoveryType As Type, _
    itemCreatorType As Type, _
    frameworksToEnumerate As String() _
)
public ProvideToolboxItemDiscoveryAttribute(
    string name,
    string helpKeyword,
    Type discoveryType,
    Type itemCreatorType,
    string[] frameworksToEnumerate
)
public:
ProvideToolboxItemDiscoveryAttribute(
    String^ name, 
    String^ helpKeyword, 
    Type^ discoveryType, 
    Type^ itemCreatorType, 
    array<String^>^ frameworksToEnumerate
)
new : 
        name:string * 
        helpKeyword:string * 
        discoveryType:Type * 
        itemCreatorType:Type * 
        frameworksToEnumerate:string[] -> ProvideToolboxItemDiscoveryAttribute
public function ProvideToolboxItemDiscoveryAttribute(
    name : String, 
    helpKeyword : String, 
    discoveryType : Type, 
    itemCreatorType : Type, 
    frameworksToEnumerate : String[]
)

Parameters

  • name
    Type: System.String

    Name of this item type (for example, ".NET Framework Components"). If localizable, this parameter is a resource identifier.

  • helpKeyword
    Type: System.String

    Help keyword for this item type.

  • frameworksToEnumerate
    Type: array<System.String[]

    A collection of framework identifiers 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.

.NET Framework Security

See Also

Reference

ProvideToolboxItemDiscoveryAttribute Class

Microsoft.VisualStudio.Shell Namespace