PropertyInfoExtensions.GetAccessors Method

Definition

Overloads

GetAccessors(PropertyInfo)
GetAccessors(PropertyInfo, Boolean)

GetAccessors(PropertyInfo)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::MethodInfo ^> ^ GetAccessors(System::Reflection::PropertyInfo ^ property);
public static System.Reflection.MethodInfo[] GetAccessors (this System.Reflection.PropertyInfo property);
static member GetAccessors : System.Reflection.PropertyInfo -> System.Reflection.MethodInfo[]
<Extension()>
Public Function GetAccessors (property As PropertyInfo) As MethodInfo()

Parameters

property
PropertyInfo

Returns

GetAccessors(PropertyInfo, Boolean)

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::MethodInfo ^> ^ GetAccessors(System::Reflection::PropertyInfo ^ property, bool nonPublic);
public static System.Reflection.MethodInfo[] GetAccessors (this System.Reflection.PropertyInfo property, bool nonPublic);
static member GetAccessors : System.Reflection.PropertyInfo * bool -> System.Reflection.MethodInfo[]
<Extension()>
Public Function GetAccessors (property As PropertyInfo, nonPublic As Boolean) As MethodInfo()

Parameters

property
PropertyInfo
nonPublic
Boolean

Returns

Applies to