Lenguaje

AIParameterNameAttribute Clase

Definición

Especifica el nombre de esquema que se va a usar para un 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
Herencia
AIParameterNameAttribute
Atributos

Comentarios

El nombre es el identificador que ve un modelo y usa al proporcionar un argumento a una función. De forma predeterminada, esto se deduce de .NET metadatos. Aplique este atributo para usar un identificador diferente.

Constructores

Nombre Description
AIParameterNameAttribute(String)

Inicializa una nueva instancia de la clase AIParameterNameAttribute.

Propiedades

Nombre Description
Name

Obtiene el nombre del esquema que se va a usar para el parámetro .

Se aplica a