次の方法で共有


AIFunctionMetadata.GetParameter(String) Method

Definition

Gets the AIFunctionParameterMetadata for a parameter by its name.

public:
 Microsoft::Extensions::AI::AIFunctionParameterMetadata ^ GetParameter(System::String ^ name);
public Microsoft.Extensions.AI.AIFunctionParameterMetadata? GetParameter (string name);
member this.GetParameter : string -> Microsoft.Extensions.AI.AIFunctionParameterMetadata
Public Function GetParameter (name As String) As AIFunctionParameterMetadata

Parameters

name
String

The name of the parameter.

Returns

The corresponding AIFunctionParameterMetadata, if found; otherwise, null.

Applies to