ITypedPropertyTValue Property

Allows to get and set the value of the referenced field in the CSV file without having to use a dynamic property.

Definition

Namespace: FolkerKinzel.CsvTools.Mappings
Assembly: FolkerKinzel.CsvTools.Mappings (in FolkerKinzel.CsvTools.Mappings.dll) Version: 1.1.0+1263e8243dc2cd78095f678f813d7d9c52ea4315
C#
T Value { get; set; }

Property Value

T

Remarks

This property supports high performance scenarios: boxing and unboxing of value types can be omitted in this way.

Exceptions

InvalidOperationExceptionRecord is null. Assign a CsvRecord instance to Record before accessing this property.
InvalidCastException When setting the value, value is null and AcceptsNull is false.
FormatException

When getting the value, parsing fails and Throwing is true.

- or -

When setting the value, the converter uses an invalid format string.

See Also