DbGeography.FromGml Metodo

Definizione

Crea un nuovo oggetto .DbGeography valore basato sul valore GML (Geography Markup Language) specificato.

Overload

FromGml(String)

Crea un nuovo valore DbGeography basato sul valore GML (Geography Markup Language).

FromGml(String, Int32)

Crea un nuovo valore di DbGeography in base al valore GML (Geography Markup Language) e all'identificatore del sistema di coordinate (SRID) specificati.

FromGml(String)

Crea un nuovo valore DbGeography basato sul valore GML (Geography Markup Language).

public:
 static System::Data::Spatial::DbGeography ^ FromGml(System::String ^ geographyMarkup);
public static System.Data.Spatial.DbGeography FromGml (string geographyMarkup);
static member FromGml : string -> System.Data.Spatial.DbGeography
Public Shared Function FromGml (geographyMarkup As String) As DbGeography

Parametri

geographyMarkup
String

Stringa contenente una rappresentazione Geography Markup Language (GML) del valore geografico.

Restituisce

Nuovo DbGeography definito dal valore GML con l'identificatore del sistema di coordinate geografiche predefinito (SRID) (DefaultCoordinateSystemId).

Eccezioni

geographyMarkup

Si applica a

FromGml(String, Int32)

Crea un nuovo valore di DbGeography in base al valore GML (Geography Markup Language) e all'identificatore del sistema di coordinate (SRID) specificati.

public:
 static System::Data::Spatial::DbGeography ^ FromGml(System::String ^ geographyMarkup, int coordinateSystemId);
public static System.Data.Spatial.DbGeography FromGml (string geographyMarkup, int coordinateSystemId);
static member FromGml : string * int -> System.Data.Spatial.DbGeography
Public Shared Function FromGml (geographyMarkup As String, coordinateSystemId As Integer) As DbGeography

Parametri

geographyMarkup
String

Stringa contenente una rappresentazione Geography Markup Language (GML) del valore geografico.

coordinateSystemId
Int32

L'identificatore del sistema di coordinate che il nuovo valore di DbGeography deve utilizzare.

Restituisce

Nuovo DbGeography definito dal valore GML con l'identificatore del sistema di coordinate specificato.

Eccezioni

geographyMarkup

coordinateSystemId

Si applica a