Del via


TextToSpeechResponse Constructors

Definition

Overloads

Name Description
TextToSpeechResponse()

Initializes a new instance of the TextToSpeechResponse class.

TextToSpeechResponse(IList<AIContent>)

Initializes a new instance of the TextToSpeechResponse class.

TextToSpeechResponse()

Source:
TextToSpeechResponse.cs

Initializes a new instance of the TextToSpeechResponse class.

public:
 TextToSpeechResponse();
[System.Text.Json.Serialization.JsonConstructor]
public TextToSpeechResponse();
Public Sub New ()
Attributes

Applies to

TextToSpeechResponse(IList<AIContent>)

Source:
TextToSpeechResponse.cs

Initializes a new instance of the TextToSpeechResponse class.

public:
 TextToSpeechResponse(System::Collections::Generic::IList<Microsoft::Extensions::AI::AIContent ^> ^ contents);
public TextToSpeechResponse(System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> contents);
new Microsoft.Extensions.AI.TextToSpeechResponse : System.Collections.Generic.IList<Microsoft.Extensions.AI.AIContent> -> Microsoft.Extensions.AI.TextToSpeechResponse
Public Sub New (contents As IList(Of AIContent))

Parameters

contents
IList<AIContent>

The contents for this response.

Applies to