FacetResult.AsValueFacetResult<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 value facet of the given type.
public Azure.Search.Documents.Models.ValueFacetResult<T> AsValueFacetResult<T> ();
member this.AsValueFacetResult : unit -> Azure.Search.Documents.Models.ValueFacetResult<'T>
Public Function AsValueFacetResult(Of T) () As ValueFacetResult(Of T)
Type Parameters
- T
A type that matches the type of the field to which the facet was applied.
Returns
A new strongly-typed value facet instance.
Exceptions
This instance is not a value facet of the given type.