TextDocument(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of TextDocument.
public TextDocument (string id, string text);
new Azure.AI.Language.QuestionAnswering.TextDocument : string * string -> Azure.AI.Language.QuestionAnswering.TextDocument
Public Sub New (id As String, text As String)
Parameters
- id
- String
Unique identifier for the text document.
- text
- String
Text contents of the document.
Exceptions
id
or text
is null.