Namespace
CsvHelper
Assembly
CsvHelper.dll
Inheritance
object Attribute CsvConstantAttribute
Builds
net10.0 netstandard2.1 netstandard2.0 net47

Remarks

The value must be a constant that converts implicitly to the member's type, or null for a reference type or a Nullable<T>. The header does not need the column. The column's other attributes, such as its name and CsvColumnAttribute.Index, still say where the record writer writes it.

Constructors

Properties

Value

Added in v34.0.0
public object? Value { get; }

The value of the member.

Property value

object?

View source