Share via


ChatMessageContentItemCollection.Add(KernelContent) Method

Definition

Adds a content item to the collection.

public void Add (Microsoft.SemanticKernel.KernelContent item);
abstract member Add : Microsoft.SemanticKernel.KernelContent -> unit
override this.Add : Microsoft.SemanticKernel.KernelContent -> unit
Public Sub Add (item As KernelContent)

Parameters

item
KernelContent

The content item to add.

Implements

Exceptions

item is null.

Applies to