次の方法で共有


KernelParameterMetadata Constructors

Definition

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

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.

Applies to