Udostępnij za pośrednictwem


RangeFacetResult<T>(Int64, Nullable<T>, Nullable<T>) Constructor

Definition

Creates a new instance of the RangeFacetResult class.

public RangeFacetResult (long count, T? from, T? to);
new Microsoft.Azure.Search.Models.RangeFacetResult<'T (requires 'T : struct)> : int64 * Nullable<'T (requires 'T : struct)> * Nullable<'T (requires 'T : struct)> -> Microsoft.Azure.Search.Models.RangeFacetResult<'T (requires 'T : struct)>
Public Sub New (count As Long, from As Nullable(Of T), to As Nullable(Of T))

Parameters

count
Int64

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

from
Nullable<T>

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

to
Nullable<T>

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

Applies to