Freigeben über


StreamingKernelContentItemCollection.Remove(StreamingKernelContent) Method

Definition

Removes the first occurrence of the specified content item from the collection.

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

Parameters

item
StreamingKernelContent

The content item to remove from the collection.

Returns

True if the item was successfully removed; false if it wasn't located in the collection.

Implements

Exceptions

item is null.

Applies to