EncodingAttribute Class
The encoding used when counting bytes.
Namespace
CsvHelper.Configuration.Attributes
Interfaces
Base Types
  • Attribute
graph BT Type-->Base0["Attribute"] Type-.->Interface0["IClassMapper"] click Interface0 "/CsvHelper/api/CsvHelper.Configuration.Attributes/IClassMapper" Type["EncodingAttribute"] class Type type-node

Syntax

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class EncodingAttribute : Attribute, IClassMapper

Attributes

Type Description
AttributeUsage

Constructors

Name Summary
EncodingAttribute(int) The encoding used when counting bytes.
EncodingAttribute(string) The encoding used when counting bytes.

Properties

Name Property Type Summary
Encoding Encoding
Gets the encoding used when counting bytes.

Methods

Name Return Value Summary
ApplyTo(CsvConfiguration) void
Applies configuration.