StreamingKernelContentItemCollection.Remove(StreamingKernelContent) 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.
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
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.