Aracılığıyla paylaş


DocumentSpan Class

Definition

Contiguous region of the concatenated content property, specified as an offset and length.

public class DocumentSpan : System.ClientModel.Primitives.IJsonModel<Azure.AI.DocumentIntelligence.DocumentSpan>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.DocumentIntelligence.DocumentSpan>
type DocumentSpan = class
    interface IJsonModel<DocumentSpan>
    interface IPersistableModel<DocumentSpan>
Public Class DocumentSpan
Implements IJsonModel(Of DocumentSpan), IPersistableModel(Of DocumentSpan)
Inheritance
DocumentSpan
Implements

Properties

Length

Number of characters in the content represented by the span.

Offset

Zero-based index of the content represented by the span.

Explicit Interface Implementations

IJsonModel<DocumentSpan>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentSpan>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DocumentSpan>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentSpan>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentSpan>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to