DbSpatialServices.GeometryFromText メソッド (String, Int32)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定した既知のテキスト値と座標系識別子 (SRID) に基づいて、新しい DbGeometry 値を作成します。
名前空間: System.Data.Entity.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
Public MustOverride Function GeometryFromText ( _
wellKnownText As String, _
coordinateSystemId As Integer _
) As DbGeometry
'使用
Dim instance As DbSpatialServices
Dim wellKnownText As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeometry
returnValue = instance.GeometryFromText(wellKnownText, _
coordinateSystemId)
public abstract DbGeometry GeometryFromText(
string wellKnownText,
int coordinateSystemId
)
public:
virtual DbGeometry^ GeometryFromText(
String^ wellKnownText,
int coordinateSystemId
) abstract
abstract GeometryFromText :
wellKnownText:string *
coordinateSystemId:int -> DbGeometry
public abstract function GeometryFromText(
wellKnownText : String,
coordinateSystemId : int
) : DbGeometry
パラメーター
- wellKnownText
型 : System.String
geometry 値の既知のテキスト表現を含む文字列。
- coordinateSystemId
型 : System.Int32
新しい DbGeometry 値を使用する必要がある座標系の識別子。
戻り値
型 : System.Data.Entity.Spatial.DbGeometry
指定された座標系識別子 (SRID) (DefaultCoordinateSystemId) を持つ既知のテキスト値によって定義される新しい DbGeometry 値。