KernelPlugin.TryGetFunction(String, KernelFunction) 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.
Finds a function in the plugin by name.
public abstract bool TryGetFunction(string name, out Microsoft.SemanticKernel.KernelFunction? function);abstract member TryGetFunction : string * KernelFunction -> boolPublic MustOverride Function TryGetFunction (name As String, ByRef function As KernelFunction) As BooleanParameters
- name
- String
The name of the function to find.
- function
- KernelFunction
If the plugin contains the requested function, the found function instance; otherwise, null.
Returns
true if the function was found in the plugin; otherwise, false.