DbSpatialServices.GetPointCount 方法

定义

重载

GetPointCount(DbGeography)

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

GetPointCount(DbGeometry)

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

GetPointCount(DbGeography)

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

public abstract Nullable<int> GetPointCount (System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetPointCount : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public MustOverride Function GetPointCount (geographyValue As DbGeography) As Nullable(Of Integer)

参数

geographyValue
DbGeography

不需要表示一个行字符串或线性环的地理值。

返回

给定的 DbGeography 值中的点数。

例外

geographyValue 为 null。

geographyValue 与此空间服务实现不兼容。

适用于

GetPointCount(DbGeometry)

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

public abstract Nullable<int> GetPointCount (System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetPointCount : System.Data.Entity.Spatial.DbGeometry -> Nullable<int>
Public MustOverride Function GetPointCount (geometryValue As DbGeometry) As Nullable(Of Integer)

参数

geometryValue
DbGeometry

几何值,它不需要表示 linestring 或线性环。

返回

给定的 DbGeometry 值中的点数。

例外

geometryValue 为 null。

geometryValue 与此空间服务实现不兼容。

适用于