Język

AIFunctionNameAttribute Klasa

Definicja

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
AIFunctionNameAttribute
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.

Dotyczy