Share via


DbSpatialServices.InteriorRingAt(DbGeometry, Int32) Method

Definition

Returns an interior ring from the given DbGeometry value, if it represents a polygon.

public abstract System.Data.Entity.Spatial.DbGeometry InteriorRingAt (System.Data.Entity.Spatial.DbGeometry geometryValue, int index);
abstract member InteriorRingAt : System.Data.Entity.Spatial.DbGeometry * int -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function InteriorRingAt (geometryValue As DbGeometry, index As Integer) As DbGeometry

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a polygon.

index
Int32

The position within the geometry value from which the element should be taken.

Returns

The interior ring in geometryValue at position index, if it represents a polygon; otherwise null.

Exceptions

geometryValue is null.

geometryValue is not compatible with this spatial services implementation.

Applies to