DbGeography.GeographyCollectionFromText(String, Int32) Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Cria um novo DbGeography valor de coleção baseado no valor de texto conhecido especificado e no identificador do sistema de coordenadas (SRID).
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 que contém uma representação textual bem conhecida do valor geográfico.
- coordinateSystemId
- Int32
O identificador do sistema de coordenadas que o novo valor DbGeography deve usar.
Devoluções
Um novo valor DbGeography conforme definido pelo conhecido valor do texto com o identificador especificado do sistema de coordenadas.
Exceções
geographyCollectionWellKnownText
coordinateSystemId