Freigeben über


StreamingKernelContentItemCollection.Insert Method

Definition

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

public void Insert (int index, Microsoft.SemanticKernel.StreamingKernelContent item);
abstract member Insert : int * Microsoft.SemanticKernel.StreamingKernelContent -> unit
override this.Insert : int * Microsoft.SemanticKernel.StreamingKernelContent -> unit
Public Sub Insert (index As Integer, item As StreamingKernelContent)

Parameters

index
Int32

The index at which the content item should be inserted.

item
StreamingKernelContent

The content item to insert.

Implements

Exceptions

item is null.

Applies to