Share via


DetectLanguageInput(String, String) Constructor

Definition

Initializes a new instance of the DetectLanguageInput class.

public DetectLanguageInput (string id, string text);
new Azure.AI.TextAnalytics.DetectLanguageInput : string * string -> Azure.AI.TextAnalytics.DetectLanguageInput
Public Sub New (id As String, text As String)

Parameters

id
String

The id of the document represented by this instance. The id must be unique within the batch of documents analyzed in a given detect language operation.

text
String

The text of the document.

Applies to