Class PropertyInfoCollection
Determines the set of properties and their information.
Implements
Inherited Members
Namespace: Syncfusion.Maui.DataSource.Extensions
Assembly: Syncfusion.Maui.DataSource.dll
Syntax
[ComVisible(false)]
public class PropertyInfoCollection : Dictionary<string, PropertyInfo>, IDictionary<string, PropertyInfo>, ICollection<KeyValuePair<string, PropertyInfo>>, IDictionary, ICollection, IReadOnlyDictionary<string, PropertyInfo>, IReadOnlyCollection<KeyValuePair<string, PropertyInfo>>, IEnumerable<KeyValuePair<string, PropertyInfo>>, IEnumerable, ISerializable, IDeserializationCallback
Constructors
PropertyInfoCollection()
Initializes a new instance of the PropertyInfoCollection class.
Declaration
public PropertyInfoCollection()
PropertyInfoCollection(Type)
Initializes a new instance of the PropertyInfoCollection class.
Declaration
[RequiresUnreferencedCode("The PropertyInfoCollection is not trim compatible")]
public PropertyInfoCollection(Type type)
Parameters
| Type | Name | Description |
|---|---|---|
| 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 |
|---|
| Type |
Methods
Find(string, bool)
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 |
|---|---|---|
| string | columnName | The column name for which the property info is to be obtained. |
| bool | matchCase | A boolean value indicating whether to consider the casing or not. |
Returns
| Type | Description |
|---|---|
| PropertyInfo | The property info of the given column name. |