RangeFacet<T> Class

 

Applies To: Microsoft Azure

A single bucket of a range facet query result that reports the number of documents with a field value falling within a particular range.

Namespace:   Microsoft.Azure.Search.Models
Assembly:  Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Azure.Search.Models.RangeFacet<T>

Syntax

public class RangeFacet<T>
where T : struct
generic<typename T>
where T : value struct, gcnew()
public ref class RangeFacet 
type RangeFacet<'T when 'T : struct> = class end
Public Class RangeFacet(Of T As Structure)

Type Parameters

  • T
    A type that matches the type of the field to which the facet was applied. Valid types include DateTimeOffset, Double, and Int64 (long in C#).

Properties

Name Description
System_CAPS_pubproperty Count

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

System_CAPS_pubproperty From

Gets 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).

System_CAPS_pubproperty To

Gets 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).

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Azure.Search.Models Namespace

Return to top