AccessibleObject.IReflect.GetProperty メソッド

定義

オーバーロード

名前 説明
IReflect.GetProperty(String, BindingFlags)

指定した検索制約の下で、指定したプロパティに対応する PropertyInfo オブジェクトを取得します。 このメンバーの説明については、 GetProperty(String, BindingFlags)を参照してください。

IReflect.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

指定した検索制約を持つ指定したプロパティに対応する PropertyInfo オブジェクトを取得します。 このメンバーの説明については、 GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])を参照してください。

IReflect.GetProperty(String, BindingFlags)

指定した検索制約の下で、指定したプロパティに対応する PropertyInfo オブジェクトを取得します。 このメンバーの説明については、 GetProperty(String, BindingFlags)を参照してください。

 virtual System::Reflection::PropertyInfo ^ System.Reflection.IReflect.GetProperty(System::String ^ name, System::Reflection::BindingFlags bindingAttr) = System::Reflection::IReflect::GetProperty;
System.Reflection.PropertyInfo IReflect.GetProperty(string name, System.Reflection.BindingFlags bindingAttr);
abstract member System.Reflection.IReflect.GetProperty : string * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo
override this.System.Reflection.IReflect.GetProperty : string * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo
Function GetProperty (name As String, bindingAttr As BindingFlags) As PropertyInfo Implements IReflect.GetProperty

パラメーター

name
String

検索するプロパティの名前。

bindingAttr
BindingFlags

検索を制御するために使用されるバインド属性。

返品

bindingAttrで指定された検索制約を満たす、またはプロパティが見つからない場合にnullする、配置されたプロパティのPropertyInfo オブジェクト。

実装

例外

オブジェクトは、同じ名前の複数のメソッドを実装します。

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 AccessibleObject インスタンスがIReflect インターフェイスにキャストされている場合にのみ使用できます。

適用対象

IReflect.GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])

指定した検索制約を持つ指定したプロパティに対応する PropertyInfo オブジェクトを取得します。 このメンバーの説明については、 GetProperty(String, BindingFlags, Binder, Type, Type[], ParameterModifier[])を参照してください。

 virtual System::Reflection::PropertyInfo ^ System.Reflection.IReflect.GetProperty(System::String ^ name, System::Reflection::BindingFlags bindingAttr, System::Reflection::Binder ^ binder, Type ^ returnType, cli::array <Type ^> ^ types, cli::array <System::Reflection::ParameterModifier> ^ modifiers) = System::Reflection::IReflect::GetProperty;
System.Reflection.PropertyInfo IReflect.GetProperty(string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, Type returnType, Type[] types, System.Reflection.ParameterModifier[] modifiers);
abstract member System.Reflection.IReflect.GetProperty : string * System.Reflection.BindingFlags * System.Reflection.Binder * Type * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.PropertyInfo
override this.System.Reflection.IReflect.GetProperty : string * System.Reflection.BindingFlags * System.Reflection.Binder * Type * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.PropertyInfo
Function GetProperty (name As String, bindingAttr As BindingFlags, binder As Binder, returnType As Type, types As Type(), modifiers As ParameterModifier()) As PropertyInfo Implements IReflect.GetProperty

パラメーター

name
String

検索するメンバーの名前。

bindingAttr
BindingFlags

検索を制御するために使用されるバインド属性。

binder
Binder

このメソッドに関連するプロパティを含む Binder を実装するオブジェクト。

returnType
Type

オーバーロードされたメソッドの中から選択するために使用される配列。

types
Type[]

型が変更されたパラメーター シグネチャでバインドを機能させるために使用されるパラメーター修飾子の配列。

modifiers
ParameterModifier[]

パラメーター修飾子を選択するために使用される配列。

返品

指定した名前のプロパティがこのリフレクション オブジェクト内にある場合は、配置されたプロパティの PropertyInfo オブジェクト。プロパティが見つからない場合は null

実装

注釈

このメンバーは、明示的なインターフェイス メンバーの実装です。 AccessibleObject インスタンスがIReflect インターフェイスにキャストされている場合にのみ使用できます。

適用対象