DbSpatialServices.GetInteriorRingCount(DbGeometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of interior rings in the given DbGeometry value, if it represents a polygon.
public abstract Nullable<int> GetInteriorRingCount (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetInteriorRingCount : System.Data.Entity.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
is null.
geometryValue
is not compatible with this spatial services implementation.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework