AIFunctionNameAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
指定用於 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
- 繼承
- 屬性
備註
名稱是模型看到並用來呼叫函式的識別碼。 預設情況下,這是從 .NET 元資料推斷出來的。 將此屬性套用以使用不同的識別碼。
建構函式
| 名稱 | Description |
|---|---|
| AIFunctionNameAttribute(String) |
初始化 AIFunctionNameAttribute 類別的新執行個體。 |
屬性
| 名稱 | Description |
|---|---|
| Name |
取得該函式的名稱。 |