AIFunctionMetadata.GetParameter(String) 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.
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.