SqlSpatialFunctions.NumRings(DbGeography) Method

Definition

Returns the total number of rings in a Polygon instance.

[System.Data.Entity.DbFunction("SqlServer", "NUMRINGS")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="Num")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId="geographyValue")]
public static Nullable<int> NumRings (System.Data.Entity.Spatial.DbGeography geographyValue);
static member NumRings : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public Shared Function NumRings (geographyValue As DbGeography) As Nullable(Of Integer)

Parameters

geographyValue
DbGeography

The geography value.

Returns

The total number of rings.

Attributes

Applies to