PropertyInfoExtensions.GetAccessors 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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()
參數
- property
- PropertyInfo
傳回
適用於
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()
參數
- property
- PropertyInfo
- nonPublic
- Boolean