次の方法で共有


DbGeography.Longitude プロパティ

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

この DbGeography 値が点を表している場合、その経度座標を取得します。 <returns>点を表す場合は、この geography 値の経度座標の値。それ以外の場合は null。</returns>

名前空間:  System.Data.Entity.Spatial
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
Public ReadOnly Property Longitude As Nullable(Of Double)
    Get
'使用
Dim instance As DbGeography 
Dim value As Nullable(Of Double)

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

プロパティ値

型 : System.Nullable<Double>
この DbGeography 値の経度座標。

参照

参照

DbGeography クラス

System.Data.Entity.Spatial 名前空間