Redigera

Dela via


SpatialEdmFunctions.IsRing(DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'IsRing' function with the specified argument, which must have an Edm.Geometry result type. The result type is Edm.Boolean.

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

Parameters

geometryValue
DbExpression

An expression that specifies the geometry curve value from which the IsRing value should be retrieved.

Returns

A new DbFunctionExpression that returns either a Boolean value indicating whether geometryValue is a ring (both closed and simple), or null if geometryValue is not a curve.

Exceptions

geometryValue

geometryValue

Applies to