SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Metódus

Definíció

Létrehoz egy olyan parancsot DbFunctionExpression , amely meghívja a canonical 'PointAt' függvényt a megadott argumentumokkal. Az első argumentumnak Edm.Geography vagy Edm.Geometry eredménytípussal kell rendelkeznie. A második argumentumnak egész szám típusú numerikus eredménytípussal kell rendelkeznie. A kifejezés eredménytípusa megegyezik a kifejezés eredménytípusával 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

Paraméterek

spatialValue
DbExpression

A térbeli vonal sztringértékét meghatározó kifejezés.

indexValue
DbExpression

Egy kifejezés, amely megadja a beolvasandó pont helyét a sorsztringben.

Válaszok

Egy új DbFunctionExpression, amely vagy a pozícióban lévő indexValuespatialValue pontot adja vissza, vagy null ha spatialValue nem vonalsztring.

Kivételek

spatialValue indexValue

A következőre érvényes: