PropertyInfoExtensions.GetGetMethod Method

Definition

Overloads

GetGetMethod(PropertyInfo)
GetGetMethod(PropertyInfo, Boolean)

GetGetMethod(PropertyInfo)

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);
static member GetGetMethod : System.Reflection.PropertyInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetGetMethod (property As PropertyInfo) As MethodInfo

Parameters

property
PropertyInfo

Returns

GetGetMethod(PropertyInfo, Boolean)

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);
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