Freigeben über


DbGeometry.XCoordinate-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 die x-Koordinate dieses DbGeometry-Werts ab, wenn sie einen Punkt darstellt.

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

Syntax

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

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

Eigenschaftswert

Typ: System.Nullable<Double>
Der X-Koordinate-Wert dieses Geometriewerts, wenn er einen Punkt darstellt, andernfalls null.

Siehe auch

Verweis

DbGeometry Klasse

System.Data.Entity.Spatial-Namespace