DbGeometry.PolygonFromText(String, Int32) Méthode

Définition

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

public:
 static System::Data::Spatial::DbGeometry ^ PolygonFromText(System::String ^ polygonWellKnownText, int coordinateSystemId);
public static System.Data.Spatial.DbGeometry PolygonFromText(string polygonWellKnownText, int coordinateSystemId);
static member PolygonFromText : string * int -> System.Data.Spatial.DbGeometry
Public Shared Function PolygonFromText (polygonWellKnownText As String, coordinateSystemId As Integer) As DbGeometry

Paramètres

polygonWellKnownText
String

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

coordinateSystemId
Int32

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

Retours

Nouvelle valeur DbGeometry définie par la valeur de texte connue avec l’identificateur de système de coordonnées spécifié.

Exceptions

polygonWellKnownText

coordinateSystemId

S’applique à