TextRecord(String, String) Constructor

Definition

Initializes a new instance of TextRecord.

public TextRecord (string id, string text);
new Azure.AI.Language.QuestionAnswering.Models.TextRecord : string * string -> Azure.AI.Language.QuestionAnswering.Models.TextRecord
Public Sub New (id As String, text As String)

Parameters

id
System.String

Unique identifier for the text record.

text
System.String

Text contents of the record.

Exceptions

System.ArgumentNullException

id or text is null.

Applies to