Share via


SearchFacetItem Class

Definition

The content of a search facet result item.

public class SearchFacetItem : System.ClientModel.Primitives.IJsonModel<Azure.Analytics.Purview.DataMap.SearchFacetItem>, System.ClientModel.Primitives.IPersistableModel<Azure.Analytics.Purview.DataMap.SearchFacetItem>
type SearchFacetItem = class
    interface IJsonModel<SearchFacetItem>
    interface IPersistableModel<SearchFacetItem>
Public Class SearchFacetItem
Implements IJsonModel(Of SearchFacetItem), IPersistableModel(Of SearchFacetItem)
Inheritance
SearchFacetItem
Implements

Constructors

SearchFacetItem()

Initializes a new instance of SearchFacetItem.

Properties

Count

The count of the facet item.

Facet

The name of the facet item.

Sort

Define the sorting criteria for items.

Explicit Interface Implementations

IJsonModel<SearchFacetItem>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SearchFacetItem>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SearchFacetItem>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SearchFacetItem>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SearchFacetItem>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to