Share via


StreamingKernelContentItemCollection.Contains(StreamingKernelContent) Method

Definition

Determines whether a content item is in the collection.

public bool Contains (Microsoft.SemanticKernel.StreamingKernelContent item);
abstract member Contains : Microsoft.SemanticKernel.StreamingKernelContent -> bool
override this.Contains : Microsoft.SemanticKernel.StreamingKernelContent -> bool
Public Function Contains (item As StreamingKernelContent) As Boolean

Parameters

item
StreamingKernelContent

The content item to locate.

Returns

True if the content item is found in the collection; otherwise, false.

Implements

Exceptions

item is null.

Applies to