Class PropertyInfoCollection
Determines the set of properties and their information.
Inheritance
System.Object
PropertyInfoCollection
Namespace: Syncfusion.Maui.DataSource.Extensions
Assembly: Syncfusion.Maui.DataSource.dll
Syntax
public class PropertyInfoCollection : Dictionary<string, PropertyInfo>
Constructors
PropertyInfoCollection()
Initializes a new instance of the PropertyInfoCollection class.
Declaration
public PropertyInfoCollection()
PropertyInfoCollection(Type)
Initializes a new instance of the PropertyInfoCollection class.
Declaration
public PropertyInfoCollection(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | Represents the type of the property. |
Properties
Empty
Gets the empty collection.
Declaration
public static PropertyInfoCollection Empty { get; }
Property Value
Type |
---|
PropertyInfoCollection |
Type
Gets the property type.
Declaration
public Type Type { get; }
Property Value
Type |
---|
System.Type |
Methods
Find(String, Boolean)
Finds the property info of the given column name in the property info collection.
Declaration
public PropertyInfo Find(string columnName, bool matchCase)
Parameters
Type | Name | Description |
---|---|---|
System.String | columnName | The column name for which the property info is to be obtained. |
System.Boolean | matchCase | A boolean value indicating whether to consider the casing or not. |
Returns
Type | Description |
---|---|
System.Reflection.PropertyInfo | The property info of the given column name. |