DbSpatialServices.GeographyCollectionFromText(String, Int32) Método

Definição

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

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 de caracteres que contém uma representação de texto bem conhecida do valor de geografia.

coordinateSystemId
Int32

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

Retornos

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

Exceções

geographyCollectionWellKnownText

coordinateSystemId

Aplica-se a