SpatialEdmFunctions.PointAt(DbExpression, DbExpression) Metódus
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
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
indexValue
spatialValue
indexValue