语言

SqlSpatialServices.GetPointCount 方法

定义

重载

名称 说明
GetPointCount(DbGeography)

如果给定值表示线字符串或线性环,则返回给定 DbGeography 值中的点数。

GetPointCount(DbGeometry)

如果给定值表示线字符串或线性环,则返回给定 DbGeometry 值中的点数。

GetPointCount(DbGeography)

如果给定值表示线字符串或线性环,则返回给定 DbGeography 值中的点数。

public override Nullable<int> GetPointCount(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetPointCount : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public Overrides Function GetPointCount (geographyValue As DbGeography) As Nullable(Of Integer)

参数

geographyValue
DbGeography

地理值,它不需要表示线字符串或线性环。

返回

给定 DbGeography 值中的点数。

适用于

GetPointCount(DbGeometry)

如果给定值表示线字符串或线性环,则返回给定 DbGeometry 值中的点数。

public override Nullable<int> GetPointCount(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetPointCount : System.Data.Entity.Spatial.DbGeometry -> Nullable<int>
Public Overrides Function GetPointCount (geometryValue As DbGeometry) As Nullable(Of Integer)

参数

geometryValue
DbGeometry

几何图形值,它不需要表示线字符串或线性环。

返回

给定 DbGeometry 值中的点数。

适用于