DbSpatialServices.GeographyCollectionFromText(String, Int32) Méthode

Définition

Crée une DbGeography valeur de collection basée sur la valeur de texte connue et l’identificateur de système de coordonnées (SRID) spécifiés.

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

Paramètres

geographyCollectionWellKnownText
String

Chaîne qui contient une représentation textuelle connue de la valeur géographique.

coordinateSystemId
Int32

Identificateur du système de coordonnées que la nouvelle DbGeography valeur doit utiliser.

Retours

Nouvelle DbGeography valeur telle que définie par la valeur de texte connue avec l’identificateur de système de coordonnées spécifié (SRID) (DefaultCoordinateSystemId).

Exceptions

geographyCollectionWellKnownText

coordinateSystemId

S’applique à