Condividi tramite


SqlSpatialServices.GeographyCollectionFromText(String, Int32) Metodo

Definizione

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

public override System.Data.Entity.Spatial.DbGeography GeographyCollectionFromText (string geographyCollectionWellKnownText, int coordinateSystemId);
override this.GeographyCollectionFromText : string * int -> System.Data.Entity.Spatial.DbGeography
Public Overrides Function GeographyCollectionFromText (geographyCollectionWellKnownText As String, coordinateSystemId As Integer) As DbGeography

Parametri

geographyCollectionWellKnownText
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

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

Si applica a