SpatialEdmFunctions.YCoordinate(DbExpression) Metódus

Definíció

Létrehoz egy olyan függvényt DbFunctionExpression , amely meghívja az "YCoordinate" ycoordinate függvényt a megadott argumentummal, amelynek Edm.Geometry eredménytípussal kell rendelkeznie. A kifejezés eredménytípusa 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

Paraméterek

geometryValue
DbExpression

Olyan kifejezés, amely megadja azt a geometriai pontértéket, amelyből az Y koordináta-értéket le kell kérni.

Válaszok

Egy új DbFunctionExpression, amely az Y koordinátaértéket geometryValue adja vissza, vagy null ha geometryValue nem pont.

Kivételek

geometryValue

geometryValue

A következőre érvényes: