PropertyInfoExtensions.GetSetMethod 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 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
	参数
- property
 - PropertyInfo
 
返回
适用于
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
	参数
- property
 - PropertyInfo
 
- nonPublic
 - Boolean