DbSpatialServices.GeographyPolygonFromText(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 valeur de DbGeography polygone en fonction de la valeur de texte connue et de l’identificateur de système de coordonnées (SRID) spécifiés.
public:
abstract System::Data::Spatial::DbGeography ^ GeographyPolygonFromText(System::String ^ polygonWellKnownText, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyPolygonFromText(string polygonWellKnownText, int coordinateSystemId);
abstract member GeographyPolygonFromText : string * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyPolygonFromText (polygonWellKnownText As String, coordinateSystemId As Integer) As DbGeography
Paramètres
- polygonWellKnownText
- 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
polygonWellKnownText
coordinateSystemId