TypeInfo.GetProperties 方法

定義

多載

GetProperties()

C#
public System.Reflection.PropertyInfo[] GetProperties();

傳回

適用於

.NET Core 1.1 和其他版本
產品 版本
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6

GetProperties(BindingFlags)

C#
public virtual System.Reflection.PropertyInfo[] GetProperties(System.Reflection.BindingFlags bindingAttr);

參數

bindingAttr
BindingFlags

傳回

適用於

.NET Core 1.1 和其他版本
產品 版本
.NET Core 1.0, Core 1.1
.NET Standard 1.5, 1.6