다음을 통해 공유


SemanticField Class

Definition

A field that is used as part of the semantic configuration.

public class SemanticField
public class SemanticField : System.ClientModel.Primitives.IJsonModel<Azure.Search.Documents.Indexes.Models.SemanticField>, System.ClientModel.Primitives.IPersistableModel<Azure.Search.Documents.Indexes.Models.SemanticField>
type SemanticField = class
type SemanticField = class
    interface IJsonModel<SemanticField>
    interface IPersistableModel<SemanticField>
Public Class SemanticField
Public Class SemanticField
Implements IJsonModel(Of SemanticField), IPersistableModel(Of SemanticField)
Inheritance
SemanticField
Implements

Constructors

SemanticField(String)

Initializes a new instance of SemanticField.

Properties

FieldName

Gets or sets the field name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SemanticField>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SemanticField>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SemanticField>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SemanticField>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SemanticField>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to