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 Microsoft.Azure.Search.Models.ValueFacetResult<T> AsValueFacetResult<T> ();
member this.AsValueFacetResult : unit -> Microsoft.Azure.Search.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.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET