PropertySettingsHelper.GetPropertyInfos(Type, String[]) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从类型返回 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 类型的数组