PropertyTab.GetProperties メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定したコンポーネントのプロパティを取得します。
オーバーロード
| 名前 | 説明 |
|---|---|
| GetProperties(Object) |
指定したコンポーネントのプロパティを取得します。 |
| GetProperties(Object, Attribute[]) |
指定した属性と一致する指定したコンポーネントのプロパティを取得します。 |
| GetProperties(ITypeDescriptorContext, Object, Attribute[]) |
指定した属性とコンテキストに一致する、指定したコンポーネントのプロパティを取得します。 |
GetProperties(Object)
指定したコンポーネントのプロパティを取得します。
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(object component);
abstract member GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : obj -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (component As Object) As PropertyDescriptorCollection
パラメーター
- component
- Object
プロパティを取得するコンポーネント。
返品
コンポーネントのプロパティを含む PropertyDescriptorCollection 。
適用対象
GetProperties(Object, Attribute[])
指定した属性と一致する指定したコンポーネントのプロパティを取得します。
public:
abstract System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties(object component, Attribute[] attributes);
abstract member GetProperties : obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public MustOverride Function GetProperties (component As Object, attributes As Attribute()) As PropertyDescriptorCollection
パラメーター
- component
- Object
プロパティを取得するコンポーネント。
返品
プロパティを含む PropertyDescriptorCollection 。
適用対象
GetProperties(ITypeDescriptorContext, Object, Attribute[])
指定した属性とコンテキストに一致する、指定したコンポーネントのプロパティを取得します。
public:
virtual System::ComponentModel::PropertyDescriptorCollection ^ GetProperties(System::ComponentModel::ITypeDescriptorContext ^ context, System::Object ^ component, cli::array <Attribute ^> ^ attributes);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties(System.ComponentModel.ITypeDescriptorContext context, object component, Attribute[] attributes);
abstract member GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
override this.GetProperties : System.ComponentModel.ITypeDescriptorContext * obj * Attribute[] -> System.ComponentModel.PropertyDescriptorCollection
Public Overridable Function GetProperties (context As ITypeDescriptorContext, component As Object, attributes As Attribute()) As PropertyDescriptorCollection
パラメーター
- context
- ITypeDescriptorContext
プロパティを取得するコンテキストを示す ITypeDescriptorContext 。
- component
- Object
プロパティを取得するコンポーネント。
返品
指定したコンテキストと属性に一致するプロパティを含む PropertyDescriptorCollection 。