TypeDelegator.GetPropertyImpl メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
派生クラスでオーバーライドされると、指定したバインディング制約を使用して、指定した引数の型と修飾子と一致するパラメーターを持つ指定したプロパティを検索します。
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);
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 オブジェクトの取得を可能にするオブジェクト。
binder が nullされている場合は、既定のバインダーが使用されます。
Binderを参照してください。
- returnType
- Type
プロパティの戻り値の型。
- types
- Type[]
パラメーター型の一覧。 このリストは、パラメーターの数、順序、および型を表します。 型を null にすることはできません。パラメーターのないメソッドを検索するには、適切な GetMethod メソッドまたは空の配列を使用します。
- modifiers
- ParameterModifier[]
取得するメソッドのパラメーターに関連付けられた属性を表す要素を持つ型と同じ長さの配列。
返品
指定した条件に一致するプロパティの PropertyInfo オブジェクト。一致するものが見つからない場合は null。