你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

StringIndex Class

Definition

String index encoding model.

public class StringIndex : System.ClientModel.Primitives.IJsonModel<Azure.Health.Deidentification.StringIndex>, System.ClientModel.Primitives.IPersistableModel<Azure.Health.Deidentification.StringIndex>
type StringIndex = class
    interface IJsonModel<StringIndex>
    interface IPersistableModel<StringIndex>
Public Class StringIndex
Implements IJsonModel(Of StringIndex), IPersistableModel(Of StringIndex)
Inheritance
StringIndex
Implements

Properties

CodePoint

The offset or length of the substring in CodePoint encoding.

Primary encoding used by Python.

Utf16

The offset or length of the substring in UTF-16 encoding.

Primary encoding used by .NET, Java, and JavaScript.

Utf8

The offset or length of the substring in UTF-8 encoding.

Explicit Interface Implementations

IJsonModel<StringIndex>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<StringIndex>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<StringIndex>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<StringIndex>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<StringIndex>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to