Idioma

AIParameterNameAttribute Classe

Definição

Especifica o nome do esquema a ser usado para um AIFunction parâmetro.

public ref class AIParameterNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class AIParameterNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)]
public sealed class AIParameterNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type AIParameterNameAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=true)>]
type AIParameterNameAttribute = class
    inherit Attribute
Public NotInheritable Class AIParameterNameAttribute
Inherits Attribute
Herança
AIParameterNameAttribute
Atributos

Comentários

O nome é o identificador que um modelo vê e usa ao fornecer um argumento para uma função. Por padrão, isso é inferido de metadados .NET. Aplique esse atributo para usar um identificador diferente.

Construtores

Nome Description
AIParameterNameAttribute(String)

Inicializa uma nova instância da classe AIParameterNameAttribute.

Propriedades

Nome Description
Name

Obtém o nome do esquema a ser usado para o parâmetro.

Aplica-se a