VectorStoreDataProperty(String, Type) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the VectorStoreDataProperty class.
public VectorStoreDataProperty(string name, Type? type = default);
new Microsoft.Extensions.VectorData.VectorStoreDataProperty : string * Type -> Microsoft.Extensions.VectorData.VectorStoreDataProperty
Public Sub New (name As String, Optional type As Type = Nothing)
Parameters
- name
- String
The name of the property on the data model. If the record is mapped to a .NET type, this corresponds to the .NET property name on that type.
- type
- Type
The type of the property. Required when using a record type of Dictionary<string, object?> (dynamic mapping), but can be omitted when mapping any other .NET type.