KernelPluginCollection.Add(KernelPlugin) 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.
Adds the plugin to the plugin collection.
public void Add (Microsoft.SemanticKernel.KernelPlugin plugin);
abstract member Add : Microsoft.SemanticKernel.KernelPlugin -> unit
override this.Add : Microsoft.SemanticKernel.KernelPlugin -> unit
Public Sub Add (plugin As KernelPlugin)
Parameters
- plugin
- KernelPlugin
The plugin to add.
Implements
Exceptions
plugin
.Name is null.
A plugin with the same name already exists in the collection.