DbGeography.FromGml メソッド (String, Int32)
[このページは、Entity Framework 6 に関するページです。最新バージョンは、'Entity Framework' NuGet パッケージとして入手できます。Entity Framework の詳細については、msdn.com/data/ef を参照してください。]
指定した Geography Markup Language (GML) 値と座標系識別子 (SRID) に基づいて、新しい DbGeography 値を作成します。
名前空間: System.Data.Entity.Spatial
アセンブリ: EntityFramework (EntityFramework.dll 内)
構文
'宣言
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Gml")> _
Public Shared Function FromGml ( _
geographyMarkup As String, _
coordinateSystemId As Integer _
) As DbGeography
'使用
Dim geographyMarkup As String
Dim coordinateSystemId As Integer
Dim returnValue As DbGeography
returnValue = DbGeography.FromGml(geographyMarkup, _
coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml")]
public static DbGeography FromGml(
string geographyMarkup,
int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Gml")]
public:
static DbGeography^ FromGml(
String^ geographyMarkup,
int coordinateSystemId
)
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Gml")>]
static member FromGml :
geographyMarkup:string *
coordinateSystemId:int -> DbGeography
public static function FromGml(
geographyMarkup : String,
coordinateSystemId : int
) : DbGeography
パラメーター
- geographyMarkup
型 : System.String
geography 値の Geography Markup Language (GML) 表現を含む文字列。
- coordinateSystemId
型 : System.Int32
新しい DbGeography 値を使用する必要がある座標系の識別子。
戻り値
型 : System.Data.Entity.Spatial.DbGeography
指定された座標系識別子で GML 値によって定義される新しい DbGeography 値。