AIParameterNameAttribute 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ę 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
- 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 . |