Share via


AutocompleteResults Class

Definition

The result of Autocomplete query.

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

Properties

Coverage

A value indicating the percentage of the index that was considered by the autocomplete request, or null if minimumCoverage was not specified in the request.

Results

The list of returned Autocompleted items.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AutocompleteResults>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AutocompleteResults>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutocompleteResults>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutocompleteResults>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AutocompleteResults>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to