RuntimeReflectionExtensions.GetRuntimeProperty(Type, String) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 속성을 나타내는 개체를 검색합니다.
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::PropertyInfo ^ GetRuntimeProperty(Type ^ type, System::String ^ name);
public static System.Reflection.PropertyInfo GetRuntimeProperty(this Type type, string name);
static member GetRuntimeProperty : Type * string -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetRuntimeProperty (type As Type, name As String) As PropertyInfo
매개 변수
- type
- Type
속성을 포함하는 형식입니다.
- name
- String
속성의 이름입니다.
반품
지정된 속성을 나타내는 개체이거나 null 속성을 찾을 수 없는 경우입니다.
예외
type 가 아닙니다 RuntimeType.
요청된 이름을 가진 속성이 두 개 이상 발견되었습니다.