PropertySettingsHelper.GetPropertyInfos(Type, String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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