DbSpatialServices.GeographyCollectionFromText(String, Int32) Metodo

Definizione

Crea un nuovo DbGeography valore della raccolta in base al valore di testo noto e all'identificatore del sistema di coordinate (SRID) specificati.

public:
 abstract System::Data::Spatial::DbGeography ^ GeographyCollectionFromText(System::String ^ geographyCollectionWellKnownText, int coordinateSystemId);
public abstract System.Data.Spatial.DbGeography GeographyCollectionFromText(string geographyCollectionWellKnownText, int coordinateSystemId);
abstract member GeographyCollectionFromText : string * int -> System.Data.Spatial.DbGeography
Public MustOverride Function GeographyCollectionFromText (geographyCollectionWellKnownText As String, coordinateSystemId As Integer) As DbGeography

Parametri

geographyCollectionWellKnownText
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

geographyCollectionWellKnownText

coordinateSystemId

Si applica a