次の方法で共有


DbGeography.LineFromText(String, Int32) メソッド

定義

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

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

パラメーター

lineWellKnownText
String

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

coordinateSystemId
Int32

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

戻り値

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

例外

lineWellKnownText

coordinateSystemId

適用対象