SpatialEdmFunctions.PointOnSurface(DbExpression) 方法

定義

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

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

參數

geometryValue
DbExpression

一個表示式,指定應從何何表面值取出該點。

傳回

一個新的 DbFunctionExpression,會回傳一個保證在曲面 geometryValue 上的點,或者 null 如果 geometryValue 不是曲面,則會回傳一個點。

例外狀況

geometryValue

geometryValue

適用於