SqlSpatialServices.GetPointCount 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| GetPointCount(DbGeography) |
如果它代表 linestring 或線性環,則以指定的 DbGeography 值傳回資料點數目。 |
| GetPointCount(DbGeometry) |
如果它代表 linestring 或線性環,則以指定的 DbGeometry 值傳回資料點數目。 |
GetPointCount(DbGeography)
如果它代表 linestring 或線性環,則以指定的 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
地理位置值,不需要代表 linestring 或線型圓圈。
傳回
指定的 DbGeography 值中的點數。
適用於
GetPointCount(DbGeometry)
如果它代表 linestring 或線性環,則以指定的 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
不需要代表 linestring 或線性環的幾何值。
傳回
指定的 DbGeometry 值中的點數。