KernelParameterMetadata 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
KernelParameterMetadata(KernelParameterMetadata) |
Initializes a KernelParameterMetadata as a copy of another KernelParameterMetadata. |
KernelParameterMetadata(String) |
Initializes the KernelParameterMetadata for a parameter with the specified name. |
KernelParameterMetadata(KernelParameterMetadata)
Initializes a KernelParameterMetadata as a copy of another KernelParameterMetadata.
public KernelParameterMetadata (Microsoft.SemanticKernel.KernelParameterMetadata metadata);
new Microsoft.SemanticKernel.KernelParameterMetadata : Microsoft.SemanticKernel.KernelParameterMetadata -> Microsoft.SemanticKernel.KernelParameterMetadata
Public Sub New (metadata As KernelParameterMetadata)
Parameters
- metadata
- KernelParameterMetadata
Exceptions
The metadata
was null.
Remarks
This creates a shallow clone of metadata
.
Applies to
KernelParameterMetadata(String)
Initializes the KernelParameterMetadata for a parameter with the specified name.
public KernelParameterMetadata (string name);
new Microsoft.SemanticKernel.KernelParameterMetadata : string -> Microsoft.SemanticKernel.KernelParameterMetadata
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.