語言

SqlSpatialServices.GetPointCount 方法

定義

多載

名稱 Description
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 值中的點數。

適用於