SqlSpatialServices.InteriorRingAt(DbGeometry, Int32) Method

Definition

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

public override System.Data.Entity.Spatial.DbGeometry InteriorRingAt (System.Data.Entity.Spatial.DbGeometry geometryValue, int index);
override this.InteriorRingAt : System.Data.Entity.Spatial.DbGeometry * int -> System.Data.Entity.Spatial.DbGeometry
Public Overrides 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.

Applies to