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)
public override Nullable<int> GetPointCount(
DbGeography geographyValue
)
public:
virtual Nullable<int> GetPointCount(
DbGeography^ geographyValue
) override
abstract GetPointCount :
geographyValue:DbGeography -> Nullable<int>
override GetPointCount :
geographyValue:DbGeography -> Nullable<int>
public override function GetPointCount(
geographyValue : DbGeography
) : Nullable<int>
- geographyValue
类型:System.Data.Entity.Spatial.DbGeography
不需要表示行字符串或线性环的地理值。
类型:System.Nullable<Int32>
给定 DbGeography 值中的点数。