AIFunctionNameAttribute 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 da utilizzare per un oggetto AIFunction.
public ref class AIFunctionNameAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
[System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")]
public sealed class AIFunctionNameAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)]
public sealed class AIFunctionNameAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
[<System.Diagnostics.CodeAnalysis.Experimental("MEAI001", UrlFormat="https://aka.ms/dotnet-extensions-warnings/{0}")>]
type AIFunctionNameAttribute = class
inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false, Inherited=true)>]
type AIFunctionNameAttribute = class
inherit Attribute
Public NotInheritable Class AIFunctionNameAttribute
Inherits Attribute
- Ereditarietà
- Attributi
Commenti
Il nome è l'identificatore che un modello vede e usa per richiamare una funzione. Per impostazione predefinita, questo viene dedotto dai metadati .NET. Applicare questo attributo per usare un identificatore diverso.
Costruttori
| Nome | Descrizione |
|---|---|
| AIFunctionNameAttribute(String) |
Inizializza una nuova istanza della classe AIFunctionNameAttribute. |
Proprietà
| Nome | Descrizione |
|---|---|
| Name |
Ottiene il nome da utilizzare per la funzione. |