Поделиться через


MessageInputTextBlock Class

Definition

A text block in a new message, containing plain text content.

public class MessageInputTextBlock : Azure.AI.Projects.MessageInputContentBlock, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.MessageInputTextBlock>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.MessageInputTextBlock>
type MessageInputTextBlock = class
    inherit MessageInputContentBlock
    interface IJsonModel<MessageInputTextBlock>
    interface IPersistableModel<MessageInputTextBlock>
Public Class MessageInputTextBlock
Inherits MessageInputContentBlock
Implements IJsonModel(Of MessageInputTextBlock), IPersistableModel(Of MessageInputTextBlock)
Inheritance
MessageInputTextBlock
Implements

Constructors

MessageInputTextBlock(String)

Initializes a new instance of MessageInputTextBlock.

Properties

Text

The plain text content for this block.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageInputContentBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from MessageInputContentBlock)
IJsonModel<MessageInputContentBlock>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageInputContentBlock)
IJsonModel<MessageInputTextBlock>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<MessageInputTextBlock>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageInputContentBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from MessageInputContentBlock)
IPersistableModel<MessageInputContentBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from MessageInputContentBlock)
IPersistableModel<MessageInputContentBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from MessageInputContentBlock)
IPersistableModel<MessageInputTextBlock>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageInputTextBlock>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<MessageInputTextBlock>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to