SqlSpatialServices.GetInteriorRingCount Method (DbGeometry)

 

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

Namespace:   System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

public override Nullable<int> GetInteriorRingCount(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value, which need not represent a polygon.

Return Value

Type: System.Nullable<Int32>

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