TypeDelegator.GetPropertyImpl メソッド

定義

派生クラスによってオーバーライドされるときに、指定のバインディング制約を使用して、指定した引数の型および修飾子と一致するパラメーターが設定されたプロパティを検索します。

protected:
 override System::Reflection::PropertyInfo ^ GetPropertyImpl(System::String ^ name, System::Reflection::BindingFlags bindingAttr, System::Reflection::Binder ^ binder, Type ^ returnType, cli::array <Type ^> ^ types, cli::array <System::Reflection::ParameterModifier> ^ modifiers);
protected override System.Reflection.PropertyInfo? GetPropertyImpl (string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder? binder, Type? returnType, Type[]? types, System.Reflection.ParameterModifier[]? modifiers);
protected override System.Reflection.PropertyInfo GetPropertyImpl (string name, System.Reflection.BindingFlags bindingAttr, System.Reflection.Binder binder, Type returnType, Type[] types, System.Reflection.ParameterModifier[] modifiers);
override this.GetPropertyImpl : string * System.Reflection.BindingFlags * System.Reflection.Binder * Type * Type[] * System.Reflection.ParameterModifier[] -> System.Reflection.PropertyInfo
Protected Overrides Function GetPropertyImpl (name As String, bindingAttr As BindingFlags, binder As Binder, returnType As Type, types As Type(), modifiers As ParameterModifier()) As PropertyInfo

パラメーター

name
String

取得するプロパティ。

bindingAttr
BindingFlags

検索の実行方法に影響を与えるビットマスク。 この値は、BindingFlags の 0 個以上のビット フラグの組み合わせです。

binder
Binder

バインディング、引数型の強制変換、メンバーの呼び出し、および、リフレクションによる MemberInfo オブジェクトの取得を有効にするオブジェクト。 bindernull の場合は、既定のバインダーが使用されます。 「Binder」を参照してください。

returnType
Type

プロパティの戻り値の型。

types
Type[]

パラメーター型のリスト。 このリストは、パラメーターの数、順序、および型を表します。 types は null にできません。適切な GetMethod メソッドまたは空の配列を使用して、パラメーターなしのメソッドを検索します。

modifiers
ParameterModifier[]

取得するメソッドのパラメーターに関連付けられた属性を表す要素を持ち、長さが types と同じ配列。

戻り値

指定した基準と一致するプロパティの PropertyInfo オブジェクト。見つからなかった場合は null。

適用対象