CustomTypeDescriptor コンストラクター

定義

CustomTypeDescriptor クラスの新しいインスタンスを初期化します。

オーバーロード

CustomTypeDescriptor()

CustomTypeDescriptor クラスの新しいインスタンスを初期化します。

CustomTypeDescriptor(ICustomTypeDescriptor)

親のカスタムの型記述子を使用して、CustomTypeDescriptor クラスの新しいインスタンスを初期化します。

CustomTypeDescriptor()

ソース:
CustomTypeDescriptor.cs
ソース:
CustomTypeDescriptor.cs
ソース:
CustomTypeDescriptor.cs

CustomTypeDescriptor クラスの新しいインスタンスを初期化します。

protected:
 CustomTypeDescriptor();
protected CustomTypeDescriptor ();
Protected Sub New ()

注釈

このコンストラクターは、 パラメーターを使用して他 CustomTypeDescriptor.CustomTypeDescriptor のコンストラクターを呼び出すこと nullと同じです。

このコンストラクターを使用して作成された の CustomTypeDescriptor メソッドはすべて、既定値を返します。

こちらもご覧ください

適用対象

CustomTypeDescriptor(ICustomTypeDescriptor)

ソース:
CustomTypeDescriptor.cs
ソース:
CustomTypeDescriptor.cs
ソース:
CustomTypeDescriptor.cs

親のカスタムの型記述子を使用して、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)。

こちらもご覧ください

適用対象