PropertySettingsHelper.GetPropertyInfos(Type, String[]) 方法

定义

从类型返回 PropertyInfo 数组

public:
[System::Runtime::CompilerServices::Extension]
 static cli::array <System::Reflection::PropertyInfo ^> ^ GetPropertyInfos(Type ^ type, ... cli::array <System::String ^> ^ propertyNames);
public static System.Reflection.PropertyInfo[] GetPropertyInfos (this Type type, params string[] propertyNames);
static member GetPropertyInfos : Type * string[] -> System.Reflection.PropertyInfo[]
<Extension()>
Public Function GetPropertyInfos (type As Type, ParamArray propertyNames As String()) As PropertyInfo()

参数

type
Type

Type 类

propertyNames
String[]

属性名称列表

返回

PropertyInfo[]

PropertyInfo 类型的数组

适用于