SpatialEdmFunctions.Measure(DbExpression) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
指定した引数を使用して正規の 'Measure' 関数を呼び出す DbFunctionExpression を作成します。Edm.Geography または Edm.Geometry の結果型が必要です。 式の結果の型は Edm.Double です。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ Measure(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression Measure(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member Measure : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function Measure (spatialValue As DbExpression) As DbFunctionExpression
パラメーター
- spatialValue
- DbExpression
Measure (M) 座標値の取得元となる空間ポイント値を指定する式。
返品
spatialValueがポイントでない場合は、spatialValueまたはnullのいずれかのメジャーを返す新しい DbFunctionExpression。
例外
spatialValue
spatialValue