Partager via


KernelPlugin.Contains Method

Definition

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.

Applies to