Share via


VectorStoreKeyProperty Class

Definition

Defines a key property on a vector store record.

public ref class VectorStoreKeyProperty sealed : Microsoft::Extensions::VectorData::VectorStoreProperty
public sealed class VectorStoreKeyProperty : Microsoft.Extensions.VectorData.VectorStoreProperty
type VectorStoreKeyProperty = class
    inherit VectorStoreProperty
Public NotInheritable Class VectorStoreKeyProperty
Inherits VectorStoreProperty
Inheritance
VectorStoreKeyProperty

Remarks

The characteristics defined here influence how the property is treated by the vector store.

Constructors

VectorStoreKeyProperty(String, Type)

Initializes a new instance of the VectorStoreKeyProperty class.

Properties

Name

Gets or sets the name of the property on the data model.

(Inherited from VectorStoreProperty)
StorageName

Gets or sets an optional name to use for the property in storage, if different from the property name.

(Inherited from VectorStoreProperty)
Type

Gets or sets the type of the property.

(Inherited from VectorStoreProperty)

Applies to