SpatialEdmFunctions.XCoordinate(DbExpression) Metoda

Definice

Vytvoří, DbFunctionExpression který vyvolá kanonickou funkci XCoordinate se zadaným argumentem, který musí mít typ výsledku Edm.Geometry. Typ výsledku výrazu je Edm.Double.

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

Parametry

geometryValue
DbExpression

Výraz, který určuje hodnotu bodu geometrie, ze které má být načtena spoluobsoudná hodnota X.

Návraty

Nový DbFunctionExpression, který vrátí hodnotu X, geometryValue nebo null pokud geometryValue není bodem.

Výjimky

geometryValue

geometryValue

Platí pro