Freigeben über


DbGeometry.Length-Eigenschaft

[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]

Ruft einen doppelten Wert ab, der NULL-Werte zulässt und der die Länge dieses angegebenen DbGeometry-Werts angibt, der möglicherweise NULL ist, wenn dieser Wert keine Kurve darstellt.

Namespace:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Syntax

'Declaration
Public ReadOnly Property Length As Nullable(Of Double)
    Get
'Usage
Dim instance As DbGeometry 
Dim value As Nullable(Of Double)

value = instance.Length
public Nullable<double> Length { get; }
public:
property Nullable<double> Length {
    Nullable<double> get ();
}
member Length : Nullable<float>
function get Length () : Nullable<double>

Eigenschaftswert

Typ: System.Nullable<Double>
Die Länge dieses DbGeometry-Werts.

Siehe auch

Verweis

DbGeometry Klasse

System.Data.Entity.Spatial-Namespace