次の方法で共有


SqlSpatialServices.GetPointCount メソッド

定義

オーバーロード

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

geography 値。ラインストリングおよび線形リングを表す必要はありません。

戻り値

指定した 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

geometry 値。ラインストリングまたは線形リングを表す必要はありません。

戻り値

指定した DbGeometry 値内のポイントの数。

適用対象