RuntimeReflectionExtensions.GetRuntimeProperty(Type, String) 메서드

정의

지정된 속성을 나타내는 개체를 검색합니다.

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 속성을 찾을 수 없는 경우입니다.

예외

typenull입니다.

-또는-

namenull입니다.

type 가 아닙니다 RuntimeType.

요청된 이름을 가진 속성이 두 개 이상 발견되었습니다.

적용 대상

추가 정보