SqlSpatialServices.GetElementCount メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| GetElementCount(DbGeography) |
geography コレクションを表す場合は、指定した DbGeography 値内の要素の数を返します。 |
| GetElementCount(DbGeometry) |
geometry コレクションを表す場合は、指定した DbGeometry 値内の要素の数を返します。 |
GetElementCount(DbGeography)
geography コレクションを表す場合は、指定した DbGeography 値内の要素の数を返します。
public override Nullable<int> GetElementCount(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetElementCount : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public Overrides Function GetElementCount (geographyValue As DbGeography) As Nullable(Of Integer)
パラメーター
- geographyValue
- DbGeography
geography コレクションを表す必要のない geography 値。
戻り値
geographyValue 内の要素の数 (他の geography 値のコレクションを表す場合)。それ以外の場合は null。
適用対象
GetElementCount(DbGeometry)
geometry コレクションを表す場合は、指定した DbGeometry 値内の要素の数を返します。
public override Nullable<int> GetElementCount(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetElementCount : System.Data.Entity.Spatial.DbGeometry -> Nullable<int>
Public Overrides Function GetElementCount (geometryValue As DbGeometry) As Nullable(Of Integer)
パラメーター
- geometryValue
- DbGeometry
geometry 値。geometry コレクションを表す必要はありません。
戻り値
他のジオメトリ値のコレクションを表す場合は、geometryValue 内の要素の数。それ以外の場合は null。