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