Langue

AIParameterNameAttribute Classe

Définition

Spécifie le nom du schéma à utiliser pour un AIFunction paramètre.

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
Héritage
AIParameterNameAttribute
Attributs

Remarques

Le nom est l’identificateur qu’un modèle voit et utilise lors de la fourniture d’un argument à une fonction. Par défaut, cela est déduit de .NET métadonnées. Appliquez cet attribut pour utiliser un autre identificateur.

Constructeurs

Nom Description
AIParameterNameAttribute(String)

Initialise une nouvelle instance de la classe AIParameterNameAttribute.

Propriétés

Nom Description
Name

Obtient le nom du schéma à utiliser pour le paramètre.

S’applique à