SpatialEdmFunctions.YCoordinate(DbExpression) 方法

定义

创建一个 DbFunctionExpression 调用规范“YCoordinate”函数的指定参数,该函数必须具有 Edm.Geometry 结果类型。 表达式的结果类型为 Edm.Double。

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

参数

geometryValue
DbExpression

一个表达式,指定应从中检索 Y 坐标值的几何点值。

返回

一个新的 DbFunctionExpression,它返回 Y 坐标值geometryValue(如果nullgeometryValue不是点)。

例外

geometryValue

geometryValue

适用于