DbSpatialServices.GeographyPointFromText(String, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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