Langue

DbSpatialServices.GeographyPolygonFromText(String, Int32) Méthode

Définition

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

S’applique à