Freigeben über


AudioContent Class

Definition

Represents audio content.

public ref class AudioContent : Microsoft::Extensions::AI::DataContent
public class AudioContent : Microsoft.Extensions.AI.DataContent
type AudioContent = class
    inherit DataContent
Public Class AudioContent
Inherits DataContent
Inheritance

Constructors

AudioContent(ReadOnlyMemory<Byte>, String)

Initializes a new instance of the AudioContent class.

AudioContent(String, String)

Initializes a new instance of the AudioContent class.

AudioContent(Uri, String)

Initializes a new instance of the AudioContent 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