共用方式為


QueryCaption(QueryCaptionType) Constructor

Definition

Initializes a new instance of the QueryCaption class.

public QueryCaption (Azure.Search.Documents.Models.QueryCaptionType captionType);
new Azure.Search.Documents.Models.QueryCaption : Azure.Search.Documents.Models.QueryCaptionType -> Azure.Search.Documents.Models.QueryCaption
Public Sub New (captionType As QueryCaptionType)

Parameters

captionType
QueryCaptionType

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

Applies to