Share via


QueryAnswer(QueryAnswerType) Constructor

Definition

Initializes a new instance of the QueryAnswer class.

public QueryAnswer (Azure.Search.Documents.Models.QueryAnswerType answerType);
new Azure.Search.Documents.Models.QueryAnswer : Azure.Search.Documents.Models.QueryAnswerType -> Azure.Search.Documents.Models.QueryAnswer
Public Sub New (answerType As QueryAnswerType)

Parameters

answerType
QueryAnswerType

A value that specifies whether Answers should be returned as part of the search response.

Applies to