SpatialEdmFunctions.AsGml(DbExpression) 方法

定義

建立 DbFunctionExpression 一個,呼叫典型的「AsGml」函式,並指定參數,該函數必須具有 Edm.Geography 或 Edm.Geometry 的結果型別。 表達式的結果類型為Edm.String。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Data::Common::CommandTrees::DbFunctionExpression ^ AsGml(System::Data::Common::CommandTrees::DbExpression ^ spatialValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression AsGml(this System.Data.Common.CommandTrees.DbExpression spatialValue);
static member AsGml : System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function AsGml (spatialValue As DbExpression) As DbFunctionExpression

參數

spatialValue
DbExpression

一個表示式,指定地理標記語言(GML)表示應從何處產生的空間值。

傳回

一個新的 DbFunctionExpression,回傳地理標記語言(GML)表示。spatialValue

例外狀況

spatialValue

spatialValue

適用於