DbSpatialServices.GetCoordinateSystemId メソッド (DbGeography)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定した DbGeography 値の座標系識別子を返します。
名前空間: System.Data.Entity.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public MustOverride Function GetCoordinateSystemId ( _
geographyValue As DbGeography _
) As Integer
'使用
Dim instance As DbSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As Integer
returnValue = instance.GetCoordinateSystemId(geographyValue)
public abstract int GetCoordinateSystemId(
DbGeography geographyValue
)
public:
virtual int GetCoordinateSystemId(
DbGeography^ geographyValue
) abstract
abstract GetCoordinateSystemId :
geographyValue:DbGeography -> int
public abstract function GetCoordinateSystemId(
geographyValue : DbGeography
) : int
パラメーター
- geographyValue
型 : System.Data.Entity.Spatial.DbGeography
geography 値。
戻り値
型 : System.Int32
指定した DbGeography 値の座標系識別子。
例外
例外 | 状態 |
---|---|
ArgumentNullException | geographyValue が null です。 |
ArgumentException | geographyValue は、この空間サービスの実装と互換性がありません。 |