Share via


AIFunctionParameterMetadata Constructors

Definition

Overloads

AIFunctionParameterMetadata(AIFunctionParameterMetadata)

Initializes a new instance of the AIFunctionParameterMetadata class as a copy of another AIFunctionParameterMetadata.

AIFunctionParameterMetadata(String)

Initializes a new instance of the AIFunctionParameterMetadata class for a parameter with the specified name.

AIFunctionParameterMetadata(AIFunctionParameterMetadata)

Initializes a new instance of the AIFunctionParameterMetadata class as a copy of another AIFunctionParameterMetadata.

public:
 AIFunctionParameterMetadata(Microsoft::Extensions::AI::AIFunctionParameterMetadata ^ metadata);
public AIFunctionParameterMetadata (Microsoft.Extensions.AI.AIFunctionParameterMetadata metadata);
new Microsoft.Extensions.AI.AIFunctionParameterMetadata : Microsoft.Extensions.AI.AIFunctionParameterMetadata -> Microsoft.Extensions.AI.AIFunctionParameterMetadata
Public Sub New (metadata As AIFunctionParameterMetadata)

Parameters

Exceptions

The metadata was null.

Remarks

This creates a shallow clone of metadata.

Applies to

AIFunctionParameterMetadata(String)

Initializes a new instance of the AIFunctionParameterMetadata class for a parameter with the specified name.

public:
 AIFunctionParameterMetadata(System::String ^ name);
public AIFunctionParameterMetadata (string name);
new Microsoft.Extensions.AI.AIFunctionParameterMetadata : string -> Microsoft.Extensions.AI.AIFunctionParameterMetadata
Public Sub New (name As String)

Parameters

name
String

The name of the parameter.

Exceptions

The name was null.

The name was empty or composed entirely of whitespace.

Applies to