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

定義

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

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

パラメーター

polygonWellKnownText
String

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

coordinateSystemId
Int32

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

返品

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

例外

polygonWellKnownText

coordinateSystemId

適用対象