Table of Contents

Method Remove

Namespace
Oscova.Agents.Collections
Assembly
Oscova.Agents.dll

Remove(AIFunction)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection`1.

public bool Remove(AIFunction item)

Parameters

item AIFunction

The object to remove from the System.Collections.Generic.ICollection`1.

Returns

bool

true if item was successfully removed from the System.Collections.Generic.ICollection`1; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection`1.

Exceptions

NotSupportedException

The System.Collections.Generic.ICollection`1 is read-only.

Remove(string)

Removes a tool and its metadata by qualified name.

public bool Remove(string qualifiedName)

Parameters

qualifiedName string

The qualified tool name to remove.

Returns

bool

true when a tool was removed.