Udostępnij przez


SqlSpatialServices.AsText Metoda

Definicja

Przeciążenia

AsText(DbGeography)

Pobiera dobrze znaną reprezentację tekstową danej DbGeography wartości. Ta wartość powinna zawierać tylko długość geograficzną i szerokość geograficzną punktów.

AsText(DbGeometry)

Pobiera dobrze znaną reprezentację tekstową danej DbGeometry wartości, w tym tylko współrzędne X i Y dla punktów.

AsText(DbGeography)

Pobiera dobrze znaną reprezentację tekstową danej DbGeography wartości. Ta wartość powinna zawierać tylko długość geograficzną i szerokość geograficzną punktów.

public override string AsText(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.AsText : System.Data.Entity.Spatial.DbGeography -> string
Public Overrides Function AsText (geographyValue As DbGeography) As String

Parametry

geographyValue
DbGeography

Wartość geografii, dla której powinien zostać wygenerowany dobrze znany tekst.

Zwraca

Ciąg zawierający dobrze znaną reprezentację tekstową geographyValue.

Dotyczy

AsText(DbGeometry)

Pobiera dobrze znaną reprezentację tekstową danej DbGeometry wartości, w tym tylko współrzędne X i Y dla punktów.

public override string AsText(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.AsText : System.Data.Entity.Spatial.DbGeometry -> string
Public Overrides Function AsText (geometryValue As DbGeometry) As String

Parametry

geometryValue
DbGeometry

Wartość geometryczna, dla której należy wygenerować dobrze znany tekst.

Zwraca

Ciąg zawierający dobrze znaną reprezentację tekstową elementu geometryValue.

Dotyczy