SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Methode
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Hiermee maakt u een DbFunctionExpression functie die de canonieke 'PointAt'-functie aanroept met de opgegeven argumenten. Het eerste argument moet een resultaattype Edm.Geography of Edm.Geometry hebben. Het tweede argument moet een numeriek resultaattype voor een geheel getal hebben. Het resultaattype van de expressie is hetzelfde als dat van spatialValue.
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ PointAt(System::Data::Common::CommandTrees::DbExpression ^ spatialValue, System::Data::Common::CommandTrees::DbExpression ^ indexValue);
public static System.Data.Common.CommandTrees.DbFunctionExpression PointAt(this System.Data.Common.CommandTrees.DbExpression spatialValue, System.Data.Common.CommandTrees.DbExpression indexValue);
static member PointAt : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function PointAt (spatialValue As DbExpression, indexValue As DbExpression) As DbFunctionExpression
Parameters
- spatialValue
- DbExpression
Een expressie waarmee de tekenreekswaarde voor ruimtelijke regels wordt opgegeven.
- indexValue
- DbExpression
Een expressie die de positie aangeeft van het punt dat moet worden opgehaald uit de regeltekenreeks.
Retouren
Een nieuwe DbFunctionExpression die het punt indexValue op positie in spatialValue of null niet spatialValue een regeltekenreeks retourneert.
Uitzonderingen
indexValue
spatialValue
indexValue