CsvPropertyInfo Class
The serialization metadata of a column: a property, a field or a constructor parameter.
public abstract class CsvPropertyInfoProperties
| Name | Description |
|---|---|
| CanDeserialize | Gets a value indicating whether the value of the column is read. |
| CanSerialize | Gets a value indicating whether the value of the column is written. |
| ColumnIndex | Gets the index set with CsvColumnIndexAttribute, or null. |
| Converter | Gets the converter of the values of the column. |
| Format | Gets the format string set with CsvFormatAttribute, or null. |
| IsRequired | Gets a value indicating whether the column is required. |
| MemberName | Gets the name of the member. |
| Name | Gets the name of the column. |
| Order | Gets the order set with CsvPropertyOrderAttribute. |
| PropertyType | Gets the type of the values of the column. |
CanDeserialize
CanSerialize
ColumnIndex
CsvPropertyInfo.csGets the index set with CsvColumnIndexAttribute, or null.
public int? ColumnIndex { get; }Property value
Converter
CsvPropertyInfo.csFormat
CsvPropertyInfo.csGets the format string set with CsvFormatAttribute, or null.
public string? Format { get; }Property value
IsRequired
CsvPropertyInfo.csMemberName
CsvPropertyInfo.csOrder
CsvPropertyInfo.csPropertyType
CsvPropertyInfo.csMethods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |