CosmosPropertyExtensions.GetVectorDistanceFunction(IReadOnlyProperty) Method
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.
Returns the distance function of the vector stored in this property.
public static Microsoft.Azure.Cosmos.DistanceFunction? GetVectorDistanceFunction(this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetVectorDistanceFunction : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Nullable<Microsoft.Azure.Cosmos.DistanceFunction>
<Extension()>
Public Function GetVectorDistanceFunction (property As IReadOnlyProperty) As Nullable(Of DistanceFunction)
Parameters
- property
- IReadOnlyProperty
The property.
Returns
Returns the distance function of the vector stored in this property.