SpatialEdmFunctions.InteriorRingAt(DbExpression, DbExpression) Method

Definition

Creates a DbFunctionExpression that invokes the canonical 'InteriorRingAt' function with the specified arguments. The first argument must have an Edm.Geometry result type. The second argument must have an integer numeric result types. The result type of the expression is Edm.Geometry.

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

Parameters

geometryValue
DbExpression

The geometry value.

indexValue
DbExpression

An expression that specifies the position of the interior ring to be retrieved from within the polygon.

Returns

A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon.

Exceptions

geometryValue indexValue

Applies to