DbSpatialServices.GeographyPolygonFromText(String, Int32) Metodo

Definizione

Crea un nuovo DbGeography valore poligono in base al valore di testo noto e all'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 che contiene una rappresentazione di testo nota del valore geography.

coordinateSystemId
Int32

Identificatore del sistema di coordinate che deve essere utilizzato dal nuovo DbGeography valore.

Valori restituiti

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

Eccezioni

polygonWellKnownText

coordinateSystemId

Si applica a