SpatialEdmFunctions.EndPoint(DbExpression) Methode

Definitie

Hiermee maakt u een DbFunctionExpression functie die de canonieke 'EndPoint'-functie aanroept met het opgegeven argument, dat een resultaattype Edm.Geography of Edm.Geometry moet hebben. Het resultaattype is hetzelfde als dat van spatialValue.

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

Parameters

spatialValue
DbExpression

Een expressie die de waarde van de ruimtelijke curve aangeeft waaruit het eindpunt moet worden opgehaald.

Retouren

Een nieuwe DbFunctionExpression die het eindpunt van spatialValue of null als spatialValue dit geen curve is, retourneert.

Uitzonderingen

spatialValue

spatialValue

Van toepassing op