次の方法で共有


DbSpatialServices.AsText メソッド

定義

オーバーロード

AsText(DbGeography)

指定された DbGeography 値の既知のテキスト表現を取得します。 この値は、ポイントの Longitude と Latitude のみを含む必要があります。

AsText(DbGeometry)

点の X 座標および Y 座標のみを含む、指定された DbGeometry 値の既知のテキスト表現を取得します。

AsText(DbGeography)

指定された DbGeography 値の既知のテキスト表現を取得します。 この値は、ポイントの Longitude と Latitude のみを含む必要があります。

public abstract string AsText(System.Data.Entity.Spatial.DbGeography geographyValue);
abstract member AsText : System.Data.Entity.Spatial.DbGeography -> string
Public MustOverride Function AsText (geographyValue As DbGeography) As String

パラメーター

geographyValue
DbGeography

既知のテキストを生成する必要がある geography 値。

戻り値

geographyValue の既知のテキスト表現を含む文字列。

例外

geographyValue が null です。

geographyValue は、この空間サービスの実装と互換性がありません。

適用対象

AsText(DbGeometry)

点の X 座標および Y 座標のみを含む、指定された DbGeometry 値の既知のテキスト表現を取得します。

public abstract string AsText(System.Data.Entity.Spatial.DbGeometry geometryValue);
abstract member AsText : System.Data.Entity.Spatial.DbGeometry -> string
Public MustOverride Function AsText (geometryValue As DbGeometry) As String

パラメーター

geometryValue
DbGeometry

既知のテキストを生成する必要がある geometry 値。

戻り値

geometryValue の既知のテキスト表現を含む文字列。

例外

geometryValue が null です。

geometryValue は、この空間サービスの実装と互換性がありません。

適用対象