AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Describes how a CSV-formatted input object is formatted.

Inheritance Hierarchy

System.Object
  Amazon.S3.Model.CSVInput

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class CSVInput

The CSVInput type exposes the following members

Constructors

NameDescription
Public Method CSVInput()

Properties

NameTypeDescription
Public Property AllowQuotedRecordDelimiter System.Nullable<System.Boolean>

Gets and sets the property AllowQuotedRecordDelimiter.

Specifies that CSV field values may contain quoted record delimiters and such records should be allowed. Default value is FALSE. Setting this value to TRUE may lower performance.

Public Property Comments System.String

Gets and sets the property Comments.

A single character used to indicate that a row should be ignored when the character is present at the start of that row. You can specify any character to indicate a comment line. The default character is #.

Default: #

Public Property FieldDelimiter System.String

Gets and sets the property FieldDelimiter.

A single character used to separate individual fields in a record. You can specify an arbitrary delimiter.

Public Property FileHeaderInfo Amazon.S3.FileHeaderInfo

Gets and sets the property FileHeaderInfo.

Describes the first line of input. Valid values are:

  • NONE: First line is not a header.

  • IGNORE: First line is a header, but you can't use the header values to indicate the column in an expression. You can use column position (such as _1, _2, …) to indicate the column (SELECT s._1 FROM OBJECT s).

  • Use: First line is a header, and you can use the header value to identify a column in an expression (SELECT "name" FROM OBJECT).

Public Property QuoteCharacter System.String

Gets and sets the property QuoteCharacter.

A single character used for escaping when the field delimiter is part of the value. For example, if the value is a, b, Amazon S3 wraps this field value in quotation marks, as follows: " a , b ".

Type: String

Default: "

Ancestors: CSV

Public Property QuoteEscapeCharacter System.String

Gets and sets the property QuoteEscapeCharacter.

A single character used for escaping the quotation mark character inside an already escaped value. For example, the value """ a , b """ is parsed as " a , b ".

Public Property RecordDelimiter System.String

Gets and sets the property RecordDelimiter.

A single character used to separate individual records in the input. Instead of the default value, you can specify an arbitrary delimiter.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer