Bewerken

Delen via


DbSpatialServices.GetInteriorRingCount(DbGeometry) Method

Definition

Returns the number of interior rings in the given DbGeometry value, if it represents a polygon.

public:
 abstract Nullable<int> GetInteriorRingCount(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract int? GetInteriorRingCount (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetInteriorRingCount : System.Data.Spatial.DbGeometry -> Nullable<int>
Public MustOverride Function GetInteriorRingCount (geometryValue As DbGeometry) As Nullable(Of Integer)

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a polygon.

Returns

The number of elements in geometryValue, if it represents a polygon; otherwise null.

Exceptions

geometryValue

geometryValue

Applies to