共用方式為


PropertyInfoExtensions.GetGetMethod 方法

定義

多載

GetGetMethod(PropertyInfo)
GetGetMethod(PropertyInfo, Boolean)

GetGetMethod(PropertyInfo)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
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)

來源:
TypeExtensions.cs
來源:
TypeExtensions.cs
來源:
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

傳回

適用於