TypeDelegator.GetPropertyImpl Metoda

Definice

Při přepsání v odvozené třídě vyhledá zadanou vlastnost, jejíž parametry odpovídají zadaným typům argumentů a modifikátorům, pomocí zadaných vazeb omezení.

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

Parametry

name
String

Vlastnost, která se má získat.

bindingAttr
BindingFlags

Bitová maska, která ovlivňuje způsob, jakým se vyhledávání provádí. Hodnota je kombinací nula nebo více bitových příznaků z BindingFlags.

binder
Binder

Objekt, který umožňuje vazbu, vynucování typů argumentů, vyvolání členů a načítání MemberInfo objektů prostřednictvím reflexe. Pokud binder je null, použije se výchozí pořadač. Viz třída Binder.

returnType
Type

Návratový typ vlastnosti.

types
Type[]

Seznam typů parametrů. Seznam představuje počet, pořadí a typy parametrů. Typy nemohou být null; k vyhledání metody bez parametrů použijte příslušnou GetMethod metodu nebo prázdné pole.

modifiers
ParameterModifier[]

Pole stejné délky jako typy s prvky, které představují atributy přidružené k parametrům metody získat.

Návraty

Objekt PropertyInfo pro vlastnost, která odpovídá zadaným kritériím, nebo null, pokud shoda nebyla nalezena.

Platí pro