DbSpatialServices.InteriorRingAt(DbGeometry, Int32) Method

Definition

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

public:
 abstract System::Data::Spatial::DbGeometry ^ InteriorRingAt(System::Data::Spatial::DbGeometry ^ geometryValue, int index);
public abstract System.Data.Spatial.DbGeometry InteriorRingAt (System.Data.Spatial.DbGeometry geometryValue, int index);
abstract member InteriorRingAt : System.Data.Spatial.DbGeometry * int -> System.Data.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

geometryValue

Applies to