SqlSpatialServices.GeographyPolygonFromText(String, Int32) Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Crea un nuovo valore di poligono DbGeography basato sul valore di testo noto e sull'identificatore del sistema di coordinate (SRID) specificati.
public override System.Data.Entity.Spatial.DbGeography GeographyPolygonFromText (string polygonWellKnownText, int coordinateSystemId);
override this.GeographyPolygonFromText : string * int -> System.Data.Entity.Spatial.DbGeography
Public Overrides 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 DbGeography valore definito dal valore di testo noto con l'identificatore del sistema di coordinate specificato (SRID) ( DefaultCoordinateSystemId ).