AIFunctionNameAttribute Klasa
Definicja
Ważne
Niektóre informacje odnoszą się do produktu w wersji wstępnej, który może zostać znacząco zmodyfikowany przed wydaniem. Firma Microsoft nie udziela żadnych gwarancji, jawnych lub domniemanych, w odniesieniu do informacji podanych w tym miejscu.
Określa nazwę, która ma być używana dla elementu 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
- Dziedziczenie
- Atrybuty
Uwagi
Nazwa jest identyfikatorem, który widzi model i używa do wywoływania funkcji. Domyślnie jest to wnioskowane z .NET metadanych. Zastosuj ten atrybut, aby użyć innego identyfikatora.
Konstruktory
| Nazwa | Opis |
|---|---|
| AIFunctionNameAttribute(String) |
Inicjuje nowe wystąpienie klasy AIFunctionNameAttribute. |
Właściwości
| Nazwa | Opis |
|---|---|
| Name |
Pobiera nazwę do użycia dla funkcji. |