次の方法で共有


SpatialEdmFunctions.GeometryPolygonFromText メソッド

定義

指定された引数で正規の 'GeometryPolygonFromText' 関数を呼び出す DbFunctionExpression を作成します。 polygonWellKnownText の結果の種類は文字列型である必要があり、coordinateSystemId の結果の方は整数数値型である必要があります。 式の結果型は Edm.Geometry です。

public:
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ GeometryPolygonFromText(System::Data::Common::CommandTrees::DbExpression ^ polygonWellKnownText, System::Data::Common::CommandTrees::DbExpression ^ coordinateSystemId);
public static System.Data.Common.CommandTrees.DbFunctionExpression GeometryPolygonFromText (System.Data.Common.CommandTrees.DbExpression polygonWellKnownText, System.Data.Common.CommandTrees.DbExpression coordinateSystemId);
static member GeometryPolygonFromText : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
Public Function GeometryPolygonFromText (polygonWellKnownText As DbExpression, coordinateSystemId As DbExpression) As DbFunctionExpression

パラメーター

polygonWellKnownText
DbExpression

ジオメトリの多角形値の既知のテキスト表現を提供する式。

coordinateSystemId
DbExpression

ジオメトリの多角形値の座標系の座標系 ID (SRID) を提供する式。

戻り値

指定された値に基づいて新しいジオメトリ ポリゴン値を返す新しい DbFunctionExpression。

例外

polygonWellKnownText coordinateSystemId

polygonWellKnownText coordinateSystemId

適用対象