AIParameterNameAttribute(String) Constructor

Definition

Initializes a new instance of the AIParameterNameAttribute class.

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

Parameters

name
String

The schema name to use for the parameter.

Exceptions

name is null.

name is empty or composed entirely of whitespace.

Applies to