デザイナの型とデザイナ基本クラスを指定して、DesignerAttribute クラスの新しいインスタンスを初期化します。
名前空間: System.ComponentModel
アセンブリ: System (system.dll 内)
構文
'宣言
Public Sub New ( _
designerType As Type, _
designerBaseType As Type _
)
'使用
Dim designerType As Type
Dim designerBaseType As Type
Dim instance As New DesignerAttribute(designerType, designerBaseType)
public DesignerAttribute (
Type designerType,
Type designerBaseType
)
public:
DesignerAttribute (
Type^ designerType,
Type^ designerBaseType
)
public DesignerAttribute (
Type designerType,
Type designerBaseType
)
public function DesignerAttribute (
designerType : Type,
designerBaseType : Type
)
パラメータ
- designerType
この属性がバインドされているコンポーネントに対してデザイン時サービスを提供するクラスを表す Type。
- designerBaseType
designerType と関連付ける基本クラスを表す Type。
解説
デザイン時サービスに使用するクラスは、IDesigner インターフェイスを実装している必要があります。
designerBaseType パラメータを使用すると、特定のクラスに対して複数の型のデザイナを結び付けることができます。
プラットフォーム
Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 2.0、1.1、1.0
参照
関連項目
DesignerAttribute クラス
DesignerAttribute メンバ
System.ComponentModel 名前空間