次の方法で共有


DbGeometry.MultiLineFromText メソッド

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

既知のテキスト値から複数行値を返します。

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

構文

'宣言
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiLine",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiLine",  _
    Justification := "Match OGC, EDM")> _
Public Shared Function MultiLineFromText ( _
    multiLineWellKnownText As String, _
    coordinateSystemId As Integer _
) As DbGeometry
'使用
Dim multiLineWellKnownText As String 
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeometry 

returnValue = DbGeometry.MultiLineFromText(multiLineWellKnownText, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine", 
    Justification = "Match OGC, EDM")]
public static DbGeometry MultiLineFromText(
    string multiLineWellKnownText,
    int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiLine", 
    Justification = L"Match OGC, EDM")]
[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")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiLine", 
    Justification = L"Match OGC, EDM")]
public:
static DbGeometry^ MultiLineFromText(
    String^ multiLineWellKnownText, 
    int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine", 
    Justification = "Match OGC, EDM")>]
static member MultiLineFromText : 
        multiLineWellKnownText:string * 
        coordinateSystemId:int -> DbGeometry
public static function MultiLineFromText(
    multiLineWellKnownText : String, 
    coordinateSystemId : int
) : DbGeometry

パラメーター

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

戻り値

型 : System.Data.Entity.Spatial.DbGeometry
既知のテキスト値からの複数行値。

参照

参照

DbGeometry クラス

System.Data.Entity.Spatial 名前空間