Редактиране

Споделяне чрез


PropertyInfoExtensions.GetSetMethod Method

Definition

Overloads

GetSetMethod(PropertyInfo)
GetSetMethod(PropertyInfo, Boolean)

GetSetMethod(PropertyInfo)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::MethodInfo ^ GetSetMethod(System::Reflection::PropertyInfo ^ property);
public static System.Reflection.MethodInfo GetSetMethod (this System.Reflection.PropertyInfo property);
public static System.Reflection.MethodInfo? GetSetMethod (this System.Reflection.PropertyInfo property);
static member GetSetMethod : System.Reflection.PropertyInfo -> System.Reflection.MethodInfo
<Extension()>
Public Function GetSetMethod (property As PropertyInfo) As MethodInfo

Parameters

property
PropertyInfo

Returns

Applies to

GetSetMethod(PropertyInfo, Boolean)

Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
Source:
TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
 static System::Reflection::MethodInfo ^ GetSetMethod(System::Reflection::PropertyInfo ^ property, bool nonPublic);
public static System.Reflection.MethodInfo GetSetMethod (this System.Reflection.PropertyInfo property, bool nonPublic);
public static System.Reflection.MethodInfo? GetSetMethod (this System.Reflection.PropertyInfo property, bool nonPublic);
static member GetSetMethod : System.Reflection.PropertyInfo * bool -> System.Reflection.MethodInfo
<Extension()>
Public Function GetSetMethod (property As PropertyInfo, nonPublic As Boolean) As MethodInfo

Parameters

property
PropertyInfo
nonPublic
Boolean

Returns

Applies to