SpatialEdmFunctions.InteriorRingAt(DbExpression, DbExpression) 方法
定义
创建一个 DbFunctionExpression,它使用指定的参数调用规范形式的 'InteriorRingAt' 函数。Creates a DbFunctionExpression that invokes the canonical 'InteriorRingAt' function with the specified arguments. 第一个参数必须具有 Edm.Geometry 结果类型。The first argument must have an Edm.Geometry result type. 第二个参数必须具有一个整数数值结果类型。The second argument must have an integer numeric result types. 表达式的结果类型为 Edm.Geometry。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
参数
- geometryValue
- DbExpression
几何值。The geometry value.
- indexValue
- DbExpression
一个表达式,在多边形中指定要检索的内环的位置。An expression that specifies the position of the interior ring to be retrieved from within the polygon.
返回
一个新的 DbFunctionExpression,它返回位于 indexValue 中位置 geometryValue 处的内环或 null(如果 geometryValue 不是多边形)。A new DbFunctionExpression that returns either the interior ring at position indexValue in geometryValue or null if geometryValue is not a polygon.
例外
indexValue
geometryValue
indexValue