AIFunctionParameterMetadata Constructors
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.
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
- metadata
- AIFunctionParameterMetadata
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.