VectorStoreKeyAttribute 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義一個屬性,將記錄類別上的屬性標記為向量儲存中記錄的鍵。
public ref class VectorStoreKeyAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public sealed class VectorStoreKeyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type VectorStoreKeyAttribute = class
inherit Attribute
Public NotInheritable Class VectorStoreKeyAttribute
Inherits Attribute
- 繼承
- 屬性
備註
此處定義的特性會影響向量儲存如何處理該性質。
建構函式
| 名稱 | Description |
|---|---|
| VectorStoreKeyAttribute() |
定義一個屬性,將記錄類別上的屬性標記為向量儲存中記錄的鍵。 |
屬性
| 名稱 | Description |
|---|---|
| IsAutoGenerated |
取得或設定一個值,指示該金鑰屬性的值是否自動產生。 |
| StorageName |
如果名稱與物業名稱不同,則會獲得一個可選的儲存資產名稱。 |