DbSpatialServices.GeographyCollectionFromText(String, Int32) Methode

Definitie

Hiermee maakt u een nieuwe DbGeography verzamelingswaarde op basis van de opgegeven bekende tekstwaarde en coördinaatsysteem-id (SRID).

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

Parameters

geographyCollectionWellKnownText
String

Een tekenreeks die een bekende tekstweergave van de geografische waarde bevat.

coordinateSystemId
Int32

De id van het coördinatensysteem dat de nieuwe DbGeography waarde moet gebruiken.

Retouren

Een nieuwe DbGeography waarde zoals gedefinieerd door de bekende tekstwaarde met de opgegeven coördinaatsysteem-id (SRID).DefaultCoordinateSystemId

Uitzonderingen

geographyCollectionWellKnownText

coordinateSystemId

Van toepassing op