次の方法で共有


PropertyTab.GetProperties メソッド (Object, Attribute )

指定した属性に一致する指定したコンポーネントのプロパティを取得します。

Overloads Public MustOverride Function GetProperties( _
   ByVal component As Object, _   ByVal attributes() As Attribute _) As PropertyDescriptorCollection
[C#]
public abstract PropertyDescriptorCollection GetProperties(objectcomponent,Attribute[] attributes);
[C++]
public: virtual PropertyDescriptorCollection* GetProperties(Object* component,Attribute* attributes[]) = 0;
[JScript]
public abstract function GetProperties(
   component : Object,attributes : Attribute[]) : PropertyDescriptorCollection;

パラメータ

  • component
    プロパティの取得元のコンポーネント。
  • attributes
    取得するプロパティの属性を示す Attribute 型の配列。

戻り値

プロパティを格納している PropertyDescriptorCollection

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ

参照

PropertyTab クラス | PropertyTab メンバ | System.Windows.Forms.Design 名前空間 | PropertyTab.GetProperties オーバーロードの一覧