SpatialEdmFunctions.PointOnSurface(DbExpression) Metodo

Definizione

Crea un oggetto DbFunctionExpression che richiama la funzione 'PointOnSurface' canonica con l'argomento specificato, che deve avere un tipo di risultato Edm.Geometry. Il tipo di risultato dell'espressione è 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

Parametri

geometryValue
DbExpression

Espressione che specifica il valore della superficie geometrica da cui recuperare il punto.

Valori restituiti

Nuovo DbFunctionExpression che restituisce un punto garantito che si trova sulla superficie geometryValue o null se geometryValue non è una superficie.

Eccezioni

geometryValue

geometryValue

Si applica a