AIParameterNameAttribute Classe
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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
- 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. |