Compartir a través de


ProvideToolboxItemConfigurationAttribute Constructor

Initializes a new instance of ProvideToolboxItemConfigurationAttribute.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)

Syntax

'Declaración
Public Sub New ( _
    objectType As Type _
)
'Uso
Dim objectType As Type

Dim instance As New ProvideToolboxItemConfigurationAttribute(objectType)
public ProvideToolboxItemConfigurationAttribute(
    Type objectType
)
public:
ProvideToolboxItemConfigurationAttribute(
    Type^ objectType
)
new : 
        objectType:Type -> ProvideToolboxItemConfigurationAttribute
public function ProvideToolboxItemConfigurationAttribute(
    objectType : Type
)

Parameters

Remarks

objectType must be a public class implementing IConfigureToolboxItem.

This class must also register as providing ToolboxItem configuration support for the specified assemblies. For more information about classes implementing IConfigureToolboxItem, see IConfigureToolboxItem.

.NET Framework Security

See Also

Reference

ProvideToolboxItemConfigurationAttribute Class

ProvideToolboxItemConfigurationAttribute Members

Microsoft.VisualStudio.Shell Namespace

ProvideToolboxItemConfigurationAttribute

IConfigureToolboxItem

ToolboxItem

ProvideAssemblyFilterAttribute

Other Resources

Toolbox (Visual Studio SDK)