DbSpatialServices.GeographyCollectionFromText(String, Int32) Método

Definição

Cria um novo DbGeography valor de coleção com base no valor de texto bem conhecido especificado e no identificador do sistema de coordenadas (SRID).

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

Parâmetros

geographyCollectionWellKnownText
String

Uma cadeia que contém uma representação textual bem conhecida do valor geográfico.

coordinateSystemId
Int32

O identificador do sistema de coordenadas que o novo DbGeography valor deve usar.

Devoluções

Um novo DbGeography valor definido pelo conhecido valor do texto com o identificador de sistema de coordenadas especificado (SRID) (DefaultCoordinateSystemId).

Exceções

geographyCollectionWellKnownText

coordinateSystemId

Aplica-se a