ImageContent 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 image content.
public ref class ImageContent : Microsoft::Extensions::AI::DataContent
public class ImageContent : Microsoft.Extensions.AI.DataContent
type ImageContent = class
inherit DataContent
Public Class ImageContent
Inherits DataContent
- Inheritance
Constructors
ImageContent(ReadOnlyMemory<Byte>, String) |
Initializes a new instance of the ImageContent class. |
ImageContent(String, String) |
Initializes a new instance of the ImageContent class. |
ImageContent(Uri, String) |
Initializes a new instance of the ImageContent class. |
Properties
AdditionalProperties |
Gets or sets additional properties for the content. (Inherited from AIContent) |
ContainsData |
Gets a value indicating whether the content contains data rather than only being a reference to data. (Inherited from DataContent) |
Data |
Gets the data represented by this instance. (Inherited from DataContent) |
MediaType |
Gets the media type (also known as MIME type) of the content. (Inherited from DataContent) |
RawRepresentation |
Gets or sets the raw representation of the content from an underlying implementation. (Inherited from AIContent) |
Uri |
Gets the URI for this DataContent. (Inherited from DataContent) |
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. (Inherited from Object) |
Applies to
.NET