StreamingKernelContentItemCollection.Insert Method
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.
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.
The content item to insert.
Implements
Exceptions
item
is null.