FacetResult.AsRangeFacetResult<T> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to convert the facet to a range facet of the given type.
public Microsoft.Azure.Search.Models.RangeFacetResult<T> AsRangeFacetResult<T> () where T : struct;
member this.AsRangeFacetResult : unit -> Microsoft.Azure.Search.Models.RangeFacetResult<'T (requires 'T : struct)> (requires 'T : struct)
Public Function AsRangeFacetResult(Of T As Structure) () As RangeFacetResult(Of T)
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#, int64 in F#).
Returns
A new strongly-typed range facet instance.
Exceptions
This instance is not a range facet of the given type.
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.
Azure SDK for .NET