Delen via


DocumentSuggestResult<T> Constructors

Definition

Overloads

DocumentSuggestResult<T>()

Initializes a new instance of the DocumentSuggestResult class.

DocumentSuggestResult<T>(IList<SuggestResult<T>>, Nullable<Double>)

Initializes a new instance of the DocumentSuggestResult class.

DocumentSuggestResult<T>()

Source:
DocumentSuggestResult.cs

Initializes a new instance of the DocumentSuggestResult class.

public DocumentSuggestResult ();
Public Sub New ()

Applies to

DocumentSuggestResult<T>(IList<SuggestResult<T>>, Nullable<Double>)

Source:
DocumentSuggestResult.cs

Initializes a new instance of the DocumentSuggestResult class.

public DocumentSuggestResult (System.Collections.Generic.IList<Microsoft.Azure.Search.Models.SuggestResult<T>> results = default, double? coverage = default);
new Microsoft.Azure.Search.Models.DocumentSuggestResult<'T> : System.Collections.Generic.IList<Microsoft.Azure.Search.Models.SuggestResult<'T>> * Nullable<double> -> Microsoft.Azure.Search.Models.DocumentSuggestResult<'T>
Public Sub New (Optional results As IList(Of SuggestResult(Of T)) = Nothing, Optional coverage As Nullable(Of Double) = Nothing)

Parameters

results
IList<SuggestResult<T>>

The sequence of results returned by the query.

coverage
Nullable<Double>

A value indicating the percentage of the index that was included in the query, or null if minimumCoverage was not set in the request.

Applies to