次の方法で共有


ChatMessageContentItemCollection.Item[Int32] Property

Definition

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

public Microsoft.SemanticKernel.KernelContent this[int index] { get; set; }
member this.Item(int) : Microsoft.SemanticKernel.KernelContent with get, set
Default Public Property Item(index As Integer) As KernelContent

Parameters

index
Int32

The index of the content item to get or set.

Property Value

The content item at the specified index.

Implements

Exceptions

value is null.

The index was not valid for this collection.

Applies to