Jazyk

AIFunctionNameAttribute Třída

Definice

Určuje název, který se má použít pro objekt 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
Dědičnost
AIFunctionNameAttribute
Atributy

Poznámky

Název je identifikátor, který model uvidí a používá k vyvolání funkce. Ve výchozím nastavení se to odvodí z metadat .NET. Tento atribut použijte pro použití jiného identifikátoru.

Konstruktory

Name Description
AIFunctionNameAttribute(String)

Inicializuje novou instanci AIFunctionNameAttribute třídy.

Vlastnosti

Name Description
Name

Získá název, který se má použít pro funkci.

Platí pro