Aracılığıyla paylaş


DbSpatialServices.GeographyCollectionFromText(String, Int32) Yöntem

Tanım

Belirtilen iyi bilinen metin değerini ve koordinat sistemi tanımlayıcısını (SRID) temel alan yeni DbGeography bir koleksiyon değeri oluşturur.

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

Parametreler

geographyCollectionWellKnownText
String

Coğrafya değerinin iyi bilinen metin gösterimini içeren bir dize.

coordinateSystemId
Int32

Yeni DbGeography değerin kullanması gereken koordinat sisteminin tanımlayıcısı.

Döndürülenler

Belirtilen koordinat sistemi tanımlayıcısı (SRID)DefaultCoordinateSystemId ( ile iyi bilinen metin değeri tarafından tanımlanan yeni DbGeography bir değer.

Özel durumlar

geographyCollectionWellKnownText

coordinateSystemId

Şunlara uygulanır