次の方法で共有


DbSpatialServices.GeometryMultiPolygonFromText メソッド

[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]

指定した既知のテキスト値と座標系識別子に基づいて、新しい DbGeometry のマルチポリゴンの値を作成します。

名前空間:  System.Data.Entity.Spatial
アセンブリ:  EntityFramework (EntityFramework.dll 内)

構文

'宣言
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi",  _
    Justification := "Match OGC, EDM")> _
Public MustOverride Function GeometryMultiPolygonFromText ( _
    multiPolygonKnownText As String, _
    coordinateSystemId As Integer _
) As DbGeometry
'使用
Dim instance As DbSpatialServices 
Dim multiPolygonKnownText As String 
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeometry 

returnValue = instance.GeometryMultiPolygonFromText(multiPolygonKnownText, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
public abstract DbGeometry GeometryMultiPolygonFromText(
    string multiPolygonKnownText,
    int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi", 
    Justification = L"Match OGC, EDM")]
public:
virtual DbGeometry^ GeometryMultiPolygonFromText(
    String^ multiPolygonKnownText, 
    int coordinateSystemId
) abstract
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
abstract GeometryMultiPolygonFromText : 
        multiPolygonKnownText:string * 
        coordinateSystemId:int -> DbGeometry
public abstract function GeometryMultiPolygonFromText(
    multiPolygonKnownText : String, 
    coordinateSystemId : int
) : DbGeometry

パラメーター

  • multiPolygonKnownText
    型 : System.String
    既知のテキスト値。
  • coordinateSystemId
    型 : System.Int32
    座標系識別子。

戻り値

型 : System.Data.Entity.Spatial.DbGeometry
新しい DbGeometry マルチポリゴン値。

参照

参照

DbSpatialServices クラス

System.Data.Entity.Spatial 名前空間