AIParameterNameAttribute Classe
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Specifica il nome dello schema da utilizzare per un AIFunction parametro.
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
- Ereditarietà
- Attributi
Commenti
Il nome è l'identificatore che un modello vede e usa quando si specifica un argomento a una funzione. Per impostazione predefinita, questo viene dedotto dai metadati .NET. Applicare questo attributo per usare un identificatore diverso.
Costruttori
| Nome | Descrizione |
|---|---|
| AIParameterNameAttribute(String) |
Inizializza una nuova istanza della classe AIParameterNameAttribute. |
Proprietà
| Nome | Descrizione |
|---|---|
| Name |
Ottiene il nome dello schema da utilizzare per il parametro . |