次の方法で共有


IReflect.GetProperties メソッド

すべてのパブリック プロパティまたは現在のクラスのすべてのプロパティに対応する PropertyInfo オブジェクトの配列を取得します。

Function GetProperties( _
   ByVal bindingAttr As BindingFlags _) As PropertyInfo()
[C#]
PropertyInfo[] GetProperties(
   BindingFlagsbindingAttr);
[C++]
PropertyInfo* GetProperties(
   BindingFlagsbindingAttr) [];
[JScript]
function GetProperties(
   bindingAttr : BindingFlags) : PropertyInfo[];

パラメータ

  • bindingAttr
    検索の制御に使用されるバインディング属性。

戻り値

リフレクション オブジェクトで定義されているすべてのプロパティの PropertyInfo オブジェクトの配列。

必要条件

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

参照

IReflect インターフェイス | IReflect メンバ | System.Reflection 名前空間 | BindingFlags