Udostępnij za pośrednictwem


SuggestResult<T> Constructors

Definition

Overloads

SuggestResult<T>()

Initializes a new instance of the SuggestResult class.

SuggestResult<T>(T, String)

Initializes a new instance of the SuggestResult class.

SuggestResult<T>()

Source:
SuggestResult.cs

Initializes a new instance of the SuggestResult class.

public SuggestResult ();
Public Sub New ()

Applies to

SuggestResult<T>(T, String)

Source:
SuggestResult.cs

Initializes a new instance of the SuggestResult class.

public SuggestResult (T document = default, string text = default);
new Microsoft.Azure.Search.Models.SuggestResult<'T> : 'T * string -> Microsoft.Azure.Search.Models.SuggestResult<'T>
Public Sub New (Optional document As T = Nothing, Optional text As String = Nothing)

Parameters

document
T

The document on which the suggested text is based.

text
String

The text of the suggestion result.

Applies to