DbSpatialServices.GeographyFromText Méthode

Définition

Crée une valeur DbGeography basée sur la valeur de texte connue spécifiée.

Surcharges

Nom Description
GeographyFromText(String)

Crée une valeur DbGeography basée sur la valeur de texte connue spécifiée.

GeographyFromText(String, Int32)

Crée une valeur DbGeography basée sur la valeur de texte connue et l’identificateur de système de coordonnées (SRID) spécifiés.

GeographyFromText(String)

Crée une valeur DbGeography basée sur la valeur de texte connue spécifiée.

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

Paramètres

wellKnownText
String

Chaîne qui contient une représentation textuelle connue de la valeur géographique.

Retours

Nouvelle DbGeography valeur telle que définie par la valeur de texte connue avec l’identificateur de système de coordonnées par défaut DbGeography (SRID) (DefaultCoordinateSystemId).

Exceptions

wellKnownText

S’applique à

GeographyFromText(String, Int32)

Crée une valeur DbGeography basée sur la valeur de texte connue et l’identificateur de système de coordonnées (SRID) spécifiés.

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

Paramètres

wellKnownText
String

Chaîne qui contient une représentation textuelle connue de la valeur géographique.

coordinateSystemId
Int32

Identificateur du système de coordonnées que la nouvelle DbGeography valeur doit utiliser.

Retours

Nouvelle DbGeography valeur telle que définie par la valeur de texte connue avec l’identificateur de système de coordonnées spécifié (SRID) (DefaultCoordinateSystemId).

Exceptions

wellKnownText

coordinateSystemId

S’applique à