共用方式為


DbSpatialServices.GeographyFromGml 方法

定義

多載

GeographyFromGml(String)

根據指定的地理標記語言 (GML) 值,建立新的 DbGeography 值。

GeographyFromGml(String, Int32)

根據指定的地理標記語言 (GML) 值和座標系統識別項 (SRID),建立新的 DbGeography 值。

GeographyFromGml(String)

根據指定的地理標記語言 (GML) 值,建立新的 DbGeography 值。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public abstract System.Data.Entity.Spatial.DbGeography GeographyFromGml (string geographyMarkup);
abstract member GeographyFromGml : string -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromGml (geographyMarkup As String) As DbGeography

參數

geographyMarkup
String

包含地理值之幾何標記語言 (GML) 表示的字串。

傳回

GML 值所定義的新 DbGeography 值,其預設 DbGeography 座標系統識別碼 (SRID) ( DefaultCoordinateSystemId ) 。

屬性

適用於

GeographyFromGml(String, Int32)

根據指定的地理標記語言 (GML) 值和座標系統識別項 (SRID),建立新的 DbGeography 值。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId="Gml")]
public abstract System.Data.Entity.Spatial.DbGeography GeographyFromGml (string geographyMarkup, int coordinateSystemId);
abstract member GeographyFromGml : string * int -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromGml (geographyMarkup As String, coordinateSystemId As Integer) As DbGeography

參數

geographyMarkup
String

包含地理值之幾何標記語言 (GML) 表示的字串。

coordinateSystemId
Int32

新的 DbGeography 值應該使用的座標系統的識別項。

傳回

新的 DbGeography 值,由含有指定之座標系統識別項 (SRID) 的 GML 值所定義。

屬性

適用於