ProvideToolboxItemConfigurationAttribute Constructor
Initializes a new instance of ProvideToolboxItemConfigurationAttribute.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'宣言
Public Sub New ( _
objectType As Type _
)
'使用
Dim objectType As Type
Dim instance As New ProvideToolboxItemConfigurationAttribute(objectType)
public ProvideToolboxItemConfigurationAttribute(
Type objectType
)
public:
ProvideToolboxItemConfigurationAttribute(
Type^ objectType
)
public function ProvideToolboxItemConfigurationAttribute(
objectType : Type
)
Parameters
objectType
Type: System.Type[in] Type.
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.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Concepts
Reference
ProvideToolboxItemConfigurationAttribute Class
ProvideToolboxItemConfigurationAttribute Members
Microsoft.VisualStudio.Shell Namespace