Delen via


FacetResult(Object, Object, Object, Nullable<Int64>) Constructor

Definition

Initializes a new instance of the FacetResult class. This constructor is intended to be used for test purposes, since the properties of this class are immutable.

public FacetResult (object from, object to, object value, long? count);
new Microsoft.Azure.Search.Models.FacetResult : obj * obj * obj * Nullable<int64> -> Microsoft.Azure.Search.Models.FacetResult
Public Sub New (from As Object, to As Object, value As Object, count As Nullable(Of Long))

Parameters

from
Object

A value indicating the inclusive lower bound of the facet's range, or null to indicate that there is no lower bound (i.e. -- for the first bucket).

to
Object

A value indicating the exclusive upper bound of the facet's range, or null to indicate that there is no upper bound (i.e. -- for the last bucket).

value
Object

The value of the facet, or the inclusive lower bound if it's an interval facet.

count
Nullable<Int64>

The approximate count of documents falling within the bucket described by this facet.

Applies to