Jaa


TextContent(String) Constructor

Definition

Initializes a new instance of the TextContent class.

public:
 TextContent(System::String ^ text);
public TextContent (string? text);
new Microsoft.Extensions.AI.TextContent : string -> Microsoft.Extensions.AI.TextContent
Public Sub New (text As String)

Parameters

text
String

The text content.

Applies to