PropertyTab.GetProperties メソッド

定義

指定したコンポーネントのプロパティを取得します。

オーバーロード

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);
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);
public abstract System.ComponentModel.PropertyDescriptorCollection GetProperties (object component, 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

プロパティの取得元のコンポーネント。

attributes
Attribute[]

取得するプロパティの属性を示す型 Attribute の配列。

戻り値

プロパティを格納している 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);
public virtual System.ComponentModel.PropertyDescriptorCollection GetProperties (System.ComponentModel.ITypeDescriptorContext? context, object component, 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

プロパティの取得元のコンポーネント。

attributes
Attribute[]

取得するプロパティの属性を示す型 Attribute の配列。

戻り値

指定のコンテキストや属性と一致するプロパティを格納している PropertyDescriptorCollection

適用対象