PropertyInfoExtensions.GetGetMethod Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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
Parameters
- property
- PropertyInfo
Returns
Applies to
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
Parameters
- property
- PropertyInfo
- nonPublic
- Boolean
Returns
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา