CustomTypeDescriptor.GetProperties メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
この型記述子によって表されるオブジェクトのプロパティ記述子のコレクションを返します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetProperties() |
この型記述子によって表されるオブジェクトのプロパティ記述子のコレクションを返します。 |
| GetProperties(Attribute[]) |
この型記述子で表されるオブジェクトのプロパティ記述子のフィルター処理されたコレクションを返します。 |
注釈
GetProperties メソッドは、この型記述子が表すオブジェクトのプロパティ記述子のコレクションを返します。 返されるコレクションをフィルター処理するために、省略可能な属性配列を指定できます。 親が指定されていない場合、メソッドは Emptyを返します。
GetProperties()
この型記述子によって表されるオブジェクトのプロパティ記述子のコレクションを返します。
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties();
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties();
abstract member GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : unit -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties () As PropertyDescriptorCollection
返品
この型記述子によって表されるオブジェクトのプロパティの説明を含む PropertyDescriptorCollection 。 既定値は Empty です。
実装
注釈
親カスタム型記述子が CustomTypeDescriptor コンストラクターに渡された場合、 GetProperties メソッドは親の対応するメソッドを呼び出します。
こちらもご覧ください
適用対象
GetProperties(Attribute[])
この型記述子で表されるオブジェクトのプロパティ記述子のフィルター処理されたコレクションを返します。
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(Attribute[] attributes);
abstract member GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (attributes As Attribute()) As PropertyDescriptorCollection
パラメーター
- attributes
- Attribute[]
フィルターとして使用する属性の配列。 これは null でもかまいません。
返品
この型記述子によって表されるオブジェクトのプロパティの説明を含む PropertyDescriptorCollection 。 既定値は Empty です。
実装
注釈
attributes パラメーターを使用して、返されるコレクションをフィルター処理できます。 フィルター処理ルールについては、「 GetProperties」を参照してください。
親カスタム型記述子が CustomTypeDescriptor コンストラクターに渡された場合、 GetProperties メソッドは親の対応するメソッドを呼び出します。
こちらもご覧ください
- GetProperties(Object, Attribute[])
- GetProperties
- PropertyDescriptorCollection
- GetEvents
- GetAttributes()
- GetDefaultProperty()