PropertyInfoExtensions.GetGetMethod Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
| Nama | Deskripsi |
|---|---|
| GetGetMethod(PropertyInfo) | |
| GetGetMethod(PropertyInfo, Boolean) |
GetGetMethod(PropertyInfo)
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- 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
Parameter
- property
- PropertyInfo
Mengembalikan
Berlaku untuk
GetGetMethod(PropertyInfo, Boolean)
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- TypeExtensions.cs
- Sumber:
- 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
Parameter
- property
- PropertyInfo
- nonPublic
- Boolean