Language

AIFunctionNameAttribute クラス

定義

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
継承
AIFunctionNameAttribute
属性

注釈

名前は、モデルが参照し、関数を呼び出すために使用する識別子です。 既定では、これは.NETメタデータから推論されます。 別の識別子を使用するには、この属性を適用します。

コンストラクター

名前 説明
AIFunctionNameAttribute(String)

AIFunctionNameAttribute クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Name

関数に使用する名前を取得します。

適用対象