共用方式為


AIFunctionFactoryCreateOptions.ReturnParameter Property

Definition

Gets or sets metadata for function's return parameter.

public:
 property Microsoft::Extensions::AI::AIFunctionReturnParameterMetadata ^ ReturnParameter { Microsoft::Extensions::AI::AIFunctionReturnParameterMetadata ^ get(); void set(Microsoft::Extensions::AI::AIFunctionReturnParameterMetadata ^ value); };
public Microsoft.Extensions.AI.AIFunctionReturnParameterMetadata? ReturnParameter { get; set; }
member this.ReturnParameter : Microsoft.Extensions.AI.AIFunctionReturnParameterMetadata with get, set
Public Property ReturnParameter As AIFunctionReturnParameterMetadata

Property Value

Metadata for the function's return parameter. The default value is metadata derived from the passed Delegate or MethodInfo.

Remarks

If null, it will default to one derived from the passed Delegate or MethodInfo.

Applies to