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
itemAIFunction-
The object to remove from the System.Collections.Generic.ICollection`1.
Returns
- bool
-
true if
itemwas successfully removed from the System.Collections.Generic.ICollection`1; otherwise, false. This method also returns false ifitemis 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
qualifiedNamestring-
The qualified tool name to remove.