DbSpatialServices.GetElementCount メソッド

定義

指定された値内の要素の数を返します。

オーバーロード

名前 説明
GetElementCount(DbGeometry)

geometry コレクションを表す場合は、指定した DbGeometry 値内の要素の数を返します。

GetElementCount(DbGeography)

geography コレクションを表す場合は、指定した DbGeography 値内の要素の数を返します。

GetElementCount(DbGeometry)

geometry コレクションを表す場合は、指定した DbGeometry 値内の要素の数を返します。

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

パラメーター

geometryValue
DbGeometry

geometry 値。geometry コレクションを表す必要はありません。

返品

他のジオメトリ値のコレクションを表す場合は、 geometryValue内の要素の数。それ以外の場合は null

例外

geometryValue

geometryValue

適用対象

GetElementCount(DbGeography)

geography コレクションを表す場合は、指定した DbGeography 値内の要素の数を返します。

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

パラメーター

geographyValue
DbGeography

geography コレクションを表す必要のない geography 値。

返品

他の geography 値のコレクションを表す場合は、 geographyValue内の要素の数。それ以外の場合は null

例外

geographyValue

geographyValue

適用対象