Share via


DbGeography.GeographyCollectionFromText(String, Int32) Metodo

Definizione

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

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

Parametri

geographyCollectionWellKnownText
String

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

coordinateSystemId
Int32

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

Restituisce

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

Eccezioni

geographyCollectionWellKnownText

coordinateSystemId

Si applica a