Condividi tramite


DbSpatialServices.GeographyPolygonFromText(String, Int32) Metodo

Definizione

Crea un nuovo valore di poligono DbGeography basato sul valore di testo noto e sull'identificatore del sistema di coordinate (SRID) specificati.

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

Parametri

polygonWellKnownText
String

Stringa contenente una rappresentazione di testo nota del valore della posizione geografica.

coordinateSystemId
Int32

L'identificatore del sistema di coordinate che il nuovo valore DbGeography deve utilizzare.

Restituisce

Nuovo valore DbGeography definito dal valore di testo noto con l'identificatore del sistema di coordinate (SRID) specificato (DefaultCoordinateSystemId).

Eccezioni

polygonWellKnownText

coordinateSystemId

Si applica a