次の方法で共有


SqlSpatialServices.GeographyFromText メソッド

定義

オーバーロード

GeographyFromText(String)

指定された既知のテキスト値に基づいて新しい DbGeography 値を作成します。

GeographyFromText(String, Int32)

指定した既知のテキスト値と座標系識別子 (SRID) に基づいて、新しい DbGeography 値を作成します。

GeographyFromText(String)

指定された既知のテキスト値に基づいて新しい DbGeography 値を作成します。

public override System.Data.Entity.Spatial.DbGeography GeographyFromText (string wellKnownText);
override this.GeographyFromText : string -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GeographyFromText (wellKnownText As String) As DbGeography

パラメーター

wellKnownText
String

geography 値の既知のテキスト表現を含む文字列。

戻り値

既定DbGeographyの座標系識別子 (SRID) ( DefaultCoordinateSystemId ) を持つ既知のテキスト値によって定義される新しいDbGeography値。

適用対象

GeographyFromText(String, Int32)

指定した既知のテキスト値と座標系識別子 (SRID) に基づいて、新しい DbGeography 値を作成します。

public override System.Data.Entity.Spatial.DbGeography GeographyFromText (string wellKnownText, int coordinateSystemId);
override this.GeographyFromText : string * int -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GeographyFromText (wellKnownText As String, coordinateSystemId As Integer) As DbGeography

パラメーター

wellKnownText
String

geography 値の既知のテキスト表現を含む文字列。

coordinateSystemId
Int32

新しい DbGeography 値を使用する必要がある座標系の識別子。

戻り値

指定した座標系識別子 (SRID) ( DefaultCoordinateSystemId ) を持つ既知のテキスト値によって定義される新しいDbGeography値。

適用対象