次の方法で共有


DbGeography.Latitude プロパティ

[このページは、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 Latitude As Nullable(Of Double)
    Get
'使用
Dim instance As DbGeography 
Dim value As Nullable(Of Double)

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

プロパティ値

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

参照

参照

DbGeography クラス

System.Data.Entity.Spatial 名前空間