Lingua

DbSpatialServices.GeographyFromText Metodo

Definizione

Overload

Nome Descrizione
GeographyFromText(String)

Crea un nuovo valore DbGeography basato sul valore di testo noto.

GeographyFromText(String, Int32)

Crea un nuovo valore DbGeography basato sul valore di testo noto e sull'identificatore del sistema di coordinate (SRID) specificati.

GeographyFromText(String)

Crea un nuovo valore DbGeography basato sul valore di testo noto.

public abstract System.Data.Entity.Spatial.DbGeography GeographyFromText (string wellKnownText);
abstract member GeographyFromText : string -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromText (wellKnownText As String) As DbGeography

Parametri

wellKnownText
String

Stringa contenente una rappresentazione di testo nota del valore della posizione geografica.

Valori restituiti

DbGeography Nuovo valore definito dal valore di testo noto con l'identificatore SRID (Coordinate System Identifier) predefinito DbGeography ( DefaultCoordinateSystemId ).

Si applica a

GeographyFromText(String, Int32)

Crea un nuovo valore DbGeography basato sul valore di testo noto e sull'identificatore del sistema di coordinate (SRID) specificati.

public abstract System.Data.Entity.Spatial.DbGeography GeographyFromText (string wellKnownText, int coordinateSystemId);
abstract member GeographyFromText : string * int -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function GeographyFromText (wellKnownText As String, coordinateSystemId As Integer) As DbGeography

Parametri

wellKnownText
String

Stringa contenente una rappresentazione di testo nota del valore della posizione geografica.

coordinateSystemId
Int32

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

Valori restituiti

DbGeography Nuovo valore definito dal valore di testo noto con l'identificatore del sistema di coordinate (SRID) specificato ( DefaultCoordinateSystemId ).

Si applica a