KernelPlugin.Contains 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.
Overloads
Contains(KernelFunction) |
Gets whether the plugin contains a function. |
Contains(String) |
Gets whether the plugin contains a function with the specified name. |
Contains(KernelFunction)
Gets whether the plugin contains a function.
public bool Contains (Microsoft.SemanticKernel.KernelFunction function);
member this.Contains : Microsoft.SemanticKernel.KernelFunction -> bool
Public Function Contains (function As KernelFunction) As Boolean
Parameters
- function
- KernelFunction
The function.
Returns
true if the plugin contains the specified function; otherwise, false.
Applies to
Contains(String)
Gets whether the plugin contains a function with the specified name.
public bool Contains (string functionName);
member this.Contains : string -> bool
Public Function Contains (functionName As String) As Boolean
Parameters
- functionName
- String
The name of the function.
Returns
true if the plugin contains the specified function; otherwise, false.