SpatialEdmFunctions.PointOnSurface(DbExpression) Metoda

Definice

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

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

Parametry

geometryValue
DbExpression

Výraz, který určuje hodnotu povrchu geometrie, ze které má být bod načten.

Návraty

Nový DbFunctionExpression, který vrátí buď bod zaručený být na povrchu, nebo geometryValue pokud null není povrchgeometryValue.

Výjimky

geometryValue

geometryValue

Platí pro