SqlSpatialFunctions.NumRings(DbGeography) 方法

定义

多边形实例中返回环总数。

[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)

参数

geographyValue
DbGeography

地理值。

返回

环总数。

属性

适用于