Compartilhar via


MessageImageFileContent Class

Definition

A representation of image file content in a thread message.

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

Properties

FileId

The ID for the file associated with this image.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<MessageContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

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

Writes the model to the provided Utf8JsonWriter.

(Inherited from MessageContent)
IJsonModel<MessageImageFileContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MessageImageFileContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MessageContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

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

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

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

Writes the model into a BinaryData.

(Inherited from MessageContent)
IPersistableModel<MessageImageFileContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MessageImageFileContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MessageImageFileContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to