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);
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

검색을 제어하는 데 사용되는 바인딩 특성입니다.

반환

PropertyInfo

bindingAttr에 지정된 검색 제약 조건을 충족하는 찾은 속성에 대한 PropertyInfo 개체입니다. 해당 속성을 찾지 못한 경우에는 null입니다.

구현

예외

개체가 이름이 같은 여러 메서드를 구현하는 경우

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, 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);
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

바인더를 구현하며 이 메서드와 관련된 속성이 포함된 개체입니다.

returnType
Type

오버로드된 메서드 중에서 선택하는 데 사용되는 배열입니다.

types
Type[]

바인딩을 형식이 수정된 매개 변수 서명과 함께 작동하도록 만드는 데 사용되는 매개 변수 한정자 배열입니다.

modifiers
ParameterModifier[]

매개 변수 한정자를 선택하는 데 사용되는 배열입니다.

반환

PropertyInfo

지정된 이름을 가진 속성을 이 리플렉션 개체에서 찾은 경우 찾은 속성에 대한 PropertyInfo 개체입니다. 해당 속성을 찾지 못한 경우에는 null입니다.

구현

설명

이 멤버는 명시적 인터페이스 멤버 구현이며, AccessibleObject 인스턴스가 IReflect 인터페이스로 캐스팅된 경우에만 사용할 수 있습니다.

적용 대상