共用方式為


DatasetTextFormat Class

Definition

The data stored in text format.

public class DatasetTextFormat : Azure.ResourceManager.DataFactory.Models.DatasetStorageFormat, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataFactory.Models.DatasetTextFormat>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataFactory.Models.DatasetTextFormat>
public class DatasetTextFormat : Azure.ResourceManager.DataFactory.Models.DatasetStorageFormat
type DatasetTextFormat = class
    inherit DatasetStorageFormat
    interface IJsonModel<DatasetTextFormat>
    interface IPersistableModel<DatasetTextFormat>
type DatasetTextFormat = class
    inherit DatasetStorageFormat
Public Class DatasetTextFormat
Inherits DatasetStorageFormat
Implements IJsonModel(Of DatasetTextFormat), IPersistableModel(Of DatasetTextFormat)
Public Class DatasetTextFormat
Inherits DatasetStorageFormat
Inheritance
DatasetTextFormat
Implements

Constructors

DatasetTextFormat()

Initializes a new instance of DatasetTextFormat.

Properties

AdditionalProperties

Additional Properties

To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions).

To assign an already formatted json string to this property use FromString(String).

Examples:

  • BinaryData.FromObjectAsJson("foo"): Creates a payload of "foo".
  • BinaryData.FromString("\"foo\""): Creates a payload of "foo".
  • BinaryData.FromObjectAsJson(new { key = "value" }): Creates a payload of { "key": "value" }.
  • BinaryData.FromString("{\"key\": \"value\"}"): Creates a payload of { "key": "value" }.

(Inherited from DatasetStorageFormat)
ColumnDelimiter

The column delimiter. Type: string (or Expression with resultType string).

Deserializer

Deserializer. Type: string (or Expression with resultType string).

(Inherited from DatasetStorageFormat)
EncodingName

The code page name of the preferred encoding. If miss, the default value is ΓÇ£utf-8ΓÇ¥, unless BOM denotes another Unicode encoding. Refer to the ΓÇ£NameΓÇ¥ column of the table in the following link to set supported values: https://msdn.microsoft.com/library/system.text.encoding.aspx. Type: string (or Expression with resultType string).

EscapeChar

The escape character. Type: string (or Expression with resultType string).

FirstRowAsHeader

When used as input, treat the first row of data as headers. When used as output,write the headers into the output as the first row of data. The default value is false. Type: boolean (or Expression with resultType boolean).

NullValue

The null value string. Type: string (or Expression with resultType string).

QuoteChar

The quote character. Type: string (or Expression with resultType string).

RowDelimiter

The row delimiter. Type: string (or Expression with resultType string).

Serializer

Serializer. Type: string (or Expression with resultType string).

(Inherited from DatasetStorageFormat)
SkipLineCount

The number of lines/rows to be skipped when parsing text files. The default value is 0. Type: integer (or Expression with resultType integer).

TreatEmptyAsNull

Treat empty column values in the text file as null. The default value is true. Type: boolean (or Expression with resultType boolean).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from DatasetStorageFormat)

Explicit Interface Implementations

IJsonModel<DatasetStorageFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from DatasetStorageFormat)
IJsonModel<DatasetStorageFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from DatasetStorageFormat)
IJsonModel<DatasetTextFormat>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DatasetTextFormat>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DatasetStorageFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from DatasetStorageFormat)
IPersistableModel<DatasetStorageFormat>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from DatasetStorageFormat)
IPersistableModel<DatasetStorageFormat>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from DatasetStorageFormat)
IPersistableModel<DatasetTextFormat>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DatasetTextFormat>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DatasetTextFormat>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to