Udostępnij za pośrednictwem


PropertySettingsHelper.GetPropertyInfos(Type, String[]) Method

Definition

Return an array of PropertyInfo from a type

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()

Parameters

type
Type

The type class

propertyNames
String[]

List of property names

Returns

Array of PropertyInfo types

Applies to