SpatialEdmFunctions.Longitude(DbExpression) メソッド

定義

指定した引数を使用して正規の 'Longitude' 関数を呼び出す DbFunctionExpression を作成します。この関数の結果型は Edm.Geography である必要があります。 式の結果の型は Edm.Double です。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ Longitude(System::Data::Common::CommandTrees::DbExpression ^ geographyValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Longitude(this System.Data.Common.CommandTrees.DbExpression geographyValue);
static member Longitude : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Longitude (geographyValue As DbExpression) As DbFunctionExpression

パラメーター

geographyValue
DbExpression

経度値の取得元となる geography ポイント値を指定する式。

返品

geographyValueの経度値を返す新しい DbFunctionExpression。geographyValueがポイントでない場合はnull

例外

geographyValue

geographyValue

適用対象