Share via


TextContent Class

Definition

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
TextContent

Constructors

TextContent(String)

Initializes a new instance of the TextContent class.

Properties

AdditionalProperties

Gets or sets additional properties for the 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

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

Applies to