VectorStoreVectorProperty Constructors
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.
Overloads
| Name | Description |
|---|---|
| VectorStoreVectorProperty(String, Int32) |
Initializes a new instance of the VectorStoreVectorProperty class. |
| VectorStoreVectorProperty(String, Type, Int32) |
Initializes a new instance of the VectorStoreVectorProperty class. |
VectorStoreVectorProperty(String, Int32)
Initializes a new instance of the VectorStoreVectorProperty class.
public:
VectorStoreVectorProperty(System::String ^ name, int dimensions);
public VectorStoreVectorProperty(string name, int dimensions);
new Microsoft.Extensions.VectorData.VectorStoreVectorProperty : string * int -> Microsoft.Extensions.VectorData.VectorStoreVectorProperty
Public Sub New (name As String, dimensions As Integer)
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.
- dimensions
- Int32
The number of dimensions that the vector has.
Applies to
VectorStoreVectorProperty(String, Type, Int32)
Initializes a new instance of the VectorStoreVectorProperty class.
public:
VectorStoreVectorProperty(System::String ^ name, Type ^ type, int dimensions);
public VectorStoreVectorProperty(string name, Type type, int dimensions);
new Microsoft.Extensions.VectorData.VectorStoreVectorProperty : string * Type * int -> Microsoft.Extensions.VectorData.VectorStoreVectorProperty
Public Sub New (name As String, type As Type, dimensions As Integer)
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.
- dimensions
- Int32
The number of dimensions that the vector has.