次の方法で共有


DbSpatialServices.GetPointCount メソッド

定義

オーバーロード

GetPointCount(DbGeography)

指定した DbGeography 値がラインストリングまたは線形リングを表す場合、その値に含まれるポイントの数を返します。

GetPointCount(DbGeometry)

指定した DbGeometry 値がラインストリングまたは線形リングを表す場合、その値に含まれるポイントの数を返します。

GetPointCount(DbGeography)

指定した DbGeography 値がラインストリングまたは線形リングを表す場合、その値に含まれるポイントの数を返します。

public abstract Nullable<int> GetPointCount(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member GetPointCount : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public MustOverride Function GetPointCount (geographyValue As DbGeography) As Nullable(Of Integer)

パラメーター

geographyValue
DbGeography

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

戻り値

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

例外

geographyValue が null です。

geographyValue は、この空間サービスの実装と互換性がありません。

適用対象

GetPointCount(DbGeometry)

指定した DbGeometry 値がラインストリングまたは線形リングを表す場合、その値に含まれるポイントの数を返します。

public abstract Nullable<int> GetPointCount(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member GetPointCount : System.Data.Entity.Spatial.DbGeometry -> Nullable<int>
Public MustOverride Function GetPointCount (geometryValue As DbGeometry) As Nullable(Of Integer)

パラメーター

geometryValue
DbGeometry

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

戻り値

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

例外

geometryValue が null です。

geometryValue は、この空間サービスの実装と互換性がありません。

適用対象