次の方法で共有


ImageContent Class

Definition

Represents image content.

public class ImageContent : Microsoft.SemanticKernel.BinaryContent
type ImageContent = class
    inherit BinaryContent
Public Class ImageContent
Inherits BinaryContent
Inheritance

Constructors

ImageContent()

Initializes a new instance of the ImageContent class.

ImageContent(ReadOnlyMemory<Byte>, String)

Initializes a new instance of the ImageContent class.

ImageContent(String)

Initializes a new instance of the ImageContent class.

ImageContent(Uri)

Initializes a new instance of the ImageContent class.

Properties

CanRead

Indicates whether the content contains binary data in either Data or DataUri properties.

(Inherited from BinaryContent)
Content
Obsolete.

The binary content.

(Inherited from BinaryContent)
Data

Gets the byte array data of the content.

(Inherited from BinaryContent)
DataUri

Gets the DataUri of the content.

(Inherited from BinaryContent)
InnerContent

The inner content representation. Use this to bypass the current abstraction.

(Inherited from KernelContent)
Metadata

The metadata associated with the content.

(Inherited from KernelContent)
MimeType

MIME type of the content.

(Inherited from KernelContent)
ModelId

The model ID used to generate the content.

(Inherited from KernelContent)
Uri

Gets the referenced Uri of the content.

(Inherited from BinaryContent)

Applies to