TypeExtensions.GetProperty 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
GetProperty(Type, String) | |
GetProperty(Type, String, BindingFlags) | |
GetProperty(Type, String, Type) | |
GetProperty(Type, String, Type, Type[]) |
GetProperty(Type, String)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name);
public static System.Reflection.PropertyInfo GetProperty (Type type, string name);
static member GetProperty : Type * string -> System.Reflection.PropertyInfo
Public Shared Function GetProperty (type As Type, name As String) As PropertyInfo
매개 변수
- type
- Type
- name
- String
반환
적용 대상
GetProperty(Type, String, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.PropertyInfo GetProperty (Type type, string name, System.Reflection.BindingFlags bindingAttr);
static member GetProperty : Type * string * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo
Public Shared Function GetProperty (type As Type, name As String, bindingAttr As BindingFlags) As PropertyInfo
매개 변수
- type
- Type
- name
- String
- bindingAttr
- BindingFlags
반환
적용 대상
GetProperty(Type, String, Type)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name, Type ^ returnType);
public static System.Reflection.PropertyInfo GetProperty (this Type type, string name, Type returnType);
public static System.Reflection.PropertyInfo? GetProperty (this Type type, string name, Type? returnType);
static member GetProperty : Type * string * Type -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetProperty (type As Type, name As String, returnType As Type) As PropertyInfo
매개 변수
- type
- Type
- name
- String
- returnType
- Type
반환
적용 대상
GetProperty(Type, String, Type, Type[])
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::PropertyInfo ^ GetProperty(Type ^ type, System::String ^ name, Type ^ returnType, cli::array <Type ^> ^ types);
public static System.Reflection.PropertyInfo GetProperty (this Type type, string name, Type returnType, Type[] types);
public static System.Reflection.PropertyInfo? GetProperty (this Type type, string name, Type? returnType, Type[] types);
static member GetProperty : Type * string * Type * Type[] -> System.Reflection.PropertyInfo
<Extension()>
Public Function GetProperty (type As Type, name As String, returnType As Type, types As Type()) As PropertyInfo
매개 변수
- type
- Type
- name
- String
- returnType
- Type
- types
- Type[]
반환
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET