Редагувати

Поділитися через


SpatialEdmFunctions.PointOnSurface(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'PointOnSurface' function with the specified argument, which must have an Edm.Geometry result type. The result type of the expression is 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

Parameters

geometryValue
DbExpression

An expression that specifies the geometry surface value from which the point should be retrieved.

Returns

A new DbFunctionExpression that returns either a point guaranteed to be on the surface geometryValue or null if geometryValue is not a surface.

Exceptions

geometryValue

geometryValue

Applies to