DbGeography.FromText メソッド

定義

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

オーバーロード

名前 説明
FromText(String)

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

FromText(String, Int32)

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

FromText(String)

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

public:
 static System::Data::Spatial::DbGeography ^ FromText(System::String ^ wellKnownText);
public static System.Data.Spatial.DbGeography FromText(string wellKnownText);
static member FromText : string -> System.Data.Spatial.DbGeography
Public Shared Function FromText (wellKnownText As String) As DbGeography

パラメーター

wellKnownText
String

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

返品

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

例外

wellKnownText

適用対象

FromText(String, Int32)

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

public:
 static System::Data::Spatial::DbGeography ^ FromText(System::String ^ wellKnownText, int coordinateSystemId);
public static System.Data.Spatial.DbGeography FromText(string wellKnownText, int coordinateSystemId);
static member FromText : string * int -> System.Data.Spatial.DbGeography
Public Shared Function FromText (wellKnownText As String, coordinateSystemId As Integer) As DbGeography

パラメーター

wellKnownText
String

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

coordinateSystemId
Int32

新しい DbGeography 値で使用する座標系の識別子。

返品

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

例外

wellKnownText

coordinateSystemId

適用対象