Share via


StreamingKernelContentItemCollection Class

Definition

Contains collection of streaming kernel content items of type StreamingKernelContent.

public sealed class StreamingKernelContentItemCollection : System.Collections.Generic.ICollection<Microsoft.SemanticKernel.StreamingKernelContent>, System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.StreamingKernelContent>, System.Collections.Generic.IList<Microsoft.SemanticKernel.StreamingKernelContent>, System.Collections.Generic.IReadOnlyCollection<Microsoft.SemanticKernel.StreamingKernelContent>, System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.StreamingKernelContent>
type StreamingKernelContentItemCollection = class
    interface IList<StreamingKernelContent>
    interface ICollection<StreamingKernelContent>
    interface seq<StreamingKernelContent>
    interface IEnumerable
    interface IReadOnlyList<StreamingKernelContent>
    interface IReadOnlyCollection<StreamingKernelContent>
Public NotInheritable Class StreamingKernelContentItemCollection
Implements ICollection(Of StreamingKernelContent), IEnumerable(Of StreamingKernelContent), IList(Of StreamingKernelContent), IReadOnlyCollection(Of StreamingKernelContent), IReadOnlyList(Of StreamingKernelContent)
Inheritance
StreamingKernelContentItemCollection
Implements

Constructors

StreamingKernelContentItemCollection()

Initializes a new instance of the ChatMessageContentItemCollection class.

Properties

Count

Gets the number of content items in the collection.

Item[Int32]

Gets or sets the content item at the specified index in the collection.

Methods

Add(StreamingKernelContent)

Adds a content item to the collection.

Clear()

Removes all content items from the collection.

Contains(StreamingKernelContent)

Determines whether a content item is in the collection.

CopyTo(StreamingKernelContent[], Int32)

Copies all of the content items in the collection to an array, starting at the specified destination array index.

IndexOf(StreamingKernelContent)

Searches for the specified content item and returns the index of the first occurrence.

Insert(Int32, StreamingKernelContent)

Inserts a content item into the collection at the specified index.

Remove(StreamingKernelContent)

Removes the first occurrence of the specified content item from the collection.

RemoveAt(Int32)

Removes the content item at the specified index from the collection.

Explicit Interface Implementations

ICollection<StreamingKernelContent>.IsReadOnly

Gets a value indicating whether the ICollection<T> is read-only.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<StreamingKernelContent>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to