Język

AIParameterNameAttribute Klasa

Definicja

Określa nazwę schematu do użycia dla parametru AIFunction .

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
Dziedziczenie
AIParameterNameAttribute
Atrybuty

Uwagi

Nazwa to identyfikator, który model widzi i używa podczas podawania argumentu funkcji. Domyślnie jest to wnioskowane z .NET metadanych. Zastosuj ten atrybut, aby użyć innego identyfikatora.

Konstruktory

Nazwisko Opis
AIParameterNameAttribute(String)

Inicjuje nowe wystąpienie klasy AIParameterNameAttribute.

Właściwości

Nazwisko Opis
Name

Pobiera nazwę schematu do użycia dla parametru .

Dotyczy