次の方法で共有


DbSpatialServices.GetDimension メソッド

定義

オーバーロード

GetDimension(DbGeography)

特定の DbGeography 値の次元を取得します。値がコレクションの場合は、最大の要素の次元を取得します。

GetDimension(DbGeometry)

特定の DbGeometry 値の次元を取得します。値がコレクションの場合は、最大の要素の次元を取得します。

GetDimension(DbGeography)

特定の DbGeography 値の次元を取得します。値がコレクションの場合は、最大の要素の次元を取得します。

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

パラメーター

geographyValue
DbGeography

寸法値を取得する必要がある geography 値。

戻り値

geographyValue のディメンション、または がコレクションの場合 DbGeography は最大の要素ディメンション。

例外

geographyValue が null です。

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

適用対象

GetDimension(DbGeometry)

特定の DbGeometry 値の次元を取得します。値がコレクションの場合は、最大の要素の次元を取得します。

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

パラメーター

geometryValue
DbGeometry

寸法値を取得する必要がある geometry 値。

戻り値

geometryValue のディメンション、または がコレクションの場合 DbGeometry は最大の要素ディメンション。

適用対象