DbGeography.GeographyCollectionFromText(String, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Cria um novo DbGeography valor de coleção com base no srid (identificador de sistema de coordenadas) bem conhecido especificado.
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 bem conhecida do valor de geografia.
- coordinateSystemId
- Int32
O identificador do sistema de coordenadas que o novo valor DbGeography deve usar.
Retornos
Um novo valor DbGeography conforme definido pelo valor de texto conhecido com o identificador do sistema de coordenadas especificado.
Exceções
geographyCollectionWellKnownText
coordinateSystemId