DbGeography.GeographyCollectionFromText(String, Int32) Método

Definição

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

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

Parâmetros

geographyCollectionWellKnownText
String

Uma cadeia de caracteres que contém uma representação de texto conhecida do valor de geografia.

coordinateSystemId
Int32

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

Retornos

Um novo valor de DbGeography conforme definido pelo valor de texto conhecido com o identificador do sistema de coordenadas especificado.

Exceções

geographyCollectionWellKnownText

coordinateSystemId

Aplica-se a