PropertyInfoExtensions.GetGetMethod 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
GetGetMethod(PropertyInfo) | |
GetGetMethod(PropertyInfo, Boolean) |
GetGetMethod(PropertyInfo)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetGetMethod(System::Reflection::PropertyInfo ^ property);
public static System.Reflection.MethodInfo GetGetMethod (this System.Reflection.PropertyInfo property);
public static System.Reflection.MethodInfo? GetGetMethod (this System.Reflection.PropertyInfo property);
static member GetGetMethod : System.Reflection.PropertyInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetGetMethod (property As PropertyInfo) As MethodInfo
参数
- property
- PropertyInfo
返回
适用于
GetGetMethod(PropertyInfo, Boolean)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static System::Reflection::MethodInfo ^ GetGetMethod(System::Reflection::PropertyInfo ^ property, bool nonPublic);
public static System.Reflection.MethodInfo GetGetMethod (this System.Reflection.PropertyInfo property, bool nonPublic);
public static System.Reflection.MethodInfo? GetGetMethod (this System.Reflection.PropertyInfo property, bool nonPublic);
static member GetGetMethod : System.Reflection.PropertyInfo * bool -> System.Reflection.MethodInfo
<Extension()>
Public Function GetGetMethod (property As PropertyInfo, nonPublic As Boolean) As MethodInfo
参数
- property
- PropertyInfo
- nonPublic
- Boolean