TextContent Class
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.
Represents text content in a chat.
public ref class TextContent sealed : Microsoft::Extensions::AI::AIContent
public sealed class TextContent : Microsoft.Extensions.AI.AIContent
type TextContent = class
inherit AIContent
Public NotInheritable Class TextContent
Inherits AIContent
- Inheritance
Constructors
| TextContent(String) |
Initializes a new instance of the TextContent class. |
Properties
| AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
| Annotations |
Gets or sets a list of annotations on this content. (Inherited from AIContent) |
| RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |
| Text |
Gets or sets the text content. |
Methods
| ToString() |
Returns a string that represents the current object. |