DbSpatialServices.GeographyPointFromText(String, Int32) Méthode

Définition

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

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

Paramètres

pointWellKnownText
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

pointWellKnownText

coordinateSystemId

S’applique à