DbGeography.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:
 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

Parameters

geographyCollectionWellKnownText
String

Een tekenreeks die een bekende tekstweergave van de geografiewaarde 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.

Uitzonderingen

geographyCollectionWellKnownText

coordinateSystemId

Van toepassing op