TypeInfo.GetProperties 方法
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties();
C#
public System.Reflection.PropertyInfo[] GetProperties();
member this.GetProperties : unit -> System.Reflection.PropertyInfo[]
Public Function GetProperties () As PropertyInfo()
傳回
適用於
.NET Core 1.1 和其他版本
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |
public:
virtual cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(System::Reflection::BindingFlags bindingAttr);
C#
public virtual System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr);
abstract member GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
override this.GetProperties : System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
Public Overridable Function GetProperties (bindingAttr As BindingFlags) As PropertyInfo()
參數
- bindingAttr
- BindingFlags
傳回
適用於
.NET Core 1.1 和其他版本
產品 | 版本 |
---|---|
.NET | Core 1.0, Core 1.1 |
.NET Standard | 1.5, 1.6 |