共用方式為


MetadataRecord(String, String) Constructor

Definition

Initializes a new instance of MetadataRecord.

public MetadataRecord (string key, string value);
new Azure.AI.Language.QuestionAnswering.MetadataRecord : string * string -> Azure.AI.Language.QuestionAnswering.MetadataRecord
Public Sub New (key As String, value As String)

Parameters

key
String

Metadata Key from Metadata dictionary used in the QnA.

value
String

Metadata Value from Metadata dictionary used in the QnA.

Exceptions

key or value is null.

Applies to