使用英语阅读

通过


SqlSpatialServices.GetPointCount 方法 (DbGeography)

[本页针对的是实体框架版本 6。最新版本以“实体框架”NuGet 包的形式提供。有关实体框架的更多信息,请参见 msdn.com/data/ef。]

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

命名空间:  System.Data.Entity.SqlServer
程序集:  EntityFramework.SqlServer(在 EntityFramework.SqlServer.dll 中)

语法

声明
Public Overrides Function GetPointCount ( _
    geographyValue As DbGeography _
) As Nullable(Of Integer)
用法
Dim instance As SqlSpatialServices 
Dim geographyValue As DbGeography 
Dim returnValue As Nullable(Of Integer)

returnValue = instance.GetPointCount(geographyValue)

参数

返回值

类型:System.Nullable<Int32>
给定 DbGeography 值中的点数。

请参阅

参考

SqlSpatialServices 类

GetPointCount 重载

System.Data.Entity.SqlServer 命名空间