public abstract Object? Value { get; set; }
Public MustOverride Property Value As Object
Get
Set
public:
virtual property Object^ Value {
Object^ get () abstract;
void set (Object^ value) abstract;
}
abstract Value : Object with get, set
If the containing CsvMapping instance is assigned to a dynamic variable, the runtime will do all the required casting operations automatically.
For high-performance scenarios you can do without the convenience of dynamic properties and perform the type cast yourself with AsITypedPropertyT(DynamicProperty). (This allows you to process value types without boxing and unboxing.)
InvalidOperationException | Record is null. Assign a CsvRecord instance to the containing CsvMapping before accessing this property. |
InvalidCastException | When setting the value, value is null and AcceptsNull is false, - or - value does not match the expected data type. |
FormatException | When getting the value, parsing fails and Throwing is true. - or - When setting the value, the converter uses an invalid format string. |