CustomTypeDescriptor コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
CustomTypeDescriptor クラスの新しいインスタンスを初期化します。
オーバーロード
CustomTypeDescriptor() |
CustomTypeDescriptor クラスの新しいインスタンスを初期化します。 |
CustomTypeDescriptor(ICustomTypeDescriptor) |
親のカスタムの型記述子を使用して、CustomTypeDescriptor クラスの新しいインスタンスを初期化します。 |
CustomTypeDescriptor()
CustomTypeDescriptor クラスの新しいインスタンスを初期化します。
protected:
CustomTypeDescriptor();
protected CustomTypeDescriptor ();
Protected Sub New ()
注釈
このコンストラクターは、 パラメーターを使用して他 CustomTypeDescriptor.CustomTypeDescriptor のコンストラクターを呼び出すこと null
と同じです。
このコンストラクターを使用して作成された の CustomTypeDescriptor メソッドはすべて、既定値を返します。
こちらもご覧ください
適用対象
CustomTypeDescriptor(ICustomTypeDescriptor)
親のカスタムの型記述子を使用して、CustomTypeDescriptor クラスの新しいインスタンスを初期化します。
protected:
CustomTypeDescriptor(System::ComponentModel::ICustomTypeDescriptor ^ parent);
protected CustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor parent);
protected CustomTypeDescriptor (System.ComponentModel.ICustomTypeDescriptor? parent);
new System.ComponentModel.CustomTypeDescriptor : System.ComponentModel.ICustomTypeDescriptor -> System.ComponentModel.CustomTypeDescriptor
Protected Sub New (parent As ICustomTypeDescriptor)
パラメーター
- parent
- ICustomTypeDescriptor
親のカスタムの型記述子。
注釈
パラメーターが の parent
場合、 null
すべての CustomTypeDescriptor メソッドは既定値を返します。 それ以外の場合、すべての CustomTypeDescriptor メソッドは の parent
メソッドに委任されます。
ほとんどの CustomTypeDescriptor メソッドは既定で を返 null
します。 次の表は、既定では返されないメソッドの戻り null
値を示しています。
メソッド | 既定の戻り値 |
---|---|
GetAttributes | 空の属性コレクション (AttributeCollection.Empty)。 |
GetConverter | 既定 TypeConverter のインスタンス。 |
GetEvents | 空のイベント コレクション (EventDescriptorCollection.Empty)。 |
GetProperties | 空のプロパティ コレクション (PropertyDescriptorCollection.Empty)。 |
こちらもご覧ください
適用対象
.NET