SpatialEdmFunctions.Elevation(DbExpression) 方法

定义

创建一个 DbFunctionExpression 使用指定参数(必须具有 Edm.Geography 或 Edm.Geometry 结果类型)调用规范的“提升”函数。 表达式的结果类型为 Edm.Double。

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

参数

spatialValue
DbExpression

一个表达式,指定应从中检索高程值(Z 坐标)值的空间点值。

返回

一个新的 DbFunctionExpression,它返回提升值 spatialValuenull 不是 spatialValue 点。

例外

spatialValue

spatialValue

适用于