ChatMessageContentItemCollection.Add(KernelContent) 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.
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.