Click or drag to resize

CsvRecordAttribute Class

This attribute defines how an object must be serialized and deserialized to and from a CSV file.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    Enkoni.Framework.SerializationCsvRecordAttribute

Namespace:  Enkoni.Framework.Serialization
Assembly:  Enkoni.Framework.Serialization (in Enkoni.Framework.Serialization.dll) Version: 1.3.0.1
Syntax
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class CsvRecordAttribute : Attribute

The CsvRecordAttribute type exposes the following members.

Constructors
  NameDescription
Public methodCsvRecordAttribute
Initializes a new instance of the CsvRecordAttribute class using a default separator.
Public methodCsvRecordAttribute(Char)
Initializes a new instance of the CsvRecordAttribute class.
Public methodCsvRecordAttribute(String)
Initializes a new instance of the CsvRecordAttribute class.
Top
Properties
  NameDescription
Public propertyCultureName
Gets or sets the name of the culture that must be used to parse the field values.
Public propertyIgnoreHeaderOnRead
Gets or sets a value indicating whether the first line in the file must be ignored when deserializing the object.
Public propertySeparator
Gets the separator string. Defaults to ",".
Public propertyWriteHeader
Gets or sets a value indicating whether the header must be included in the file when serializing the object.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also