Поделиться через


PropertyInfoExtensions.GetSetMethod Метод

Определение

Перегрузки

GetSetMethod(PropertyInfo)
GetSetMethod(PropertyInfo, Boolean)

GetSetMethod(PropertyInfo)

Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
Исходный код:
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

Параметры

property
PropertyInfo

Возвращаемое значение

Применяется к

GetSetMethod(PropertyInfo, Boolean)

Исходный код:
TypeExtensions.cs
Исходный код:
TypeExtensions.cs
Исходный код:
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

Параметры

property
PropertyInfo
nonPublic
Boolean

Возвращаемое значение

Применяется к