SpatialEdmFunctions.SpatialElementAt(DbExpression, DbExpression) Yöntem

Tanım

Belirtilen bağımsız değişkenlerle kurallı 'SpatialElementAt' işlevini çağıran bir DbFunctionExpression oluşturur. İlk bağımsız değişken bir Edm.Geography veya Edm.Geometry sonuç türüne sahip olmalıdır. İkinci bağımsız değişkenin bir tamsayı sayısal sonuç türü olmalıdır. İfadenin sonuç türü ile aynıdır spatialValue.

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

Parametreler

spatialValue
DbExpression

Coğrafya veya geometri koleksiyonu değerini belirten bir ifade.

indexValue
DbExpression

Geometri veya coğrafya koleksiyonu içinden alınacak öğenin konumunu belirten ifade.

Döndürülenler

konumundaki koleksiyon öğesini indexValuespatialValue döndüren veya null koleksiyon değilse spatialValue yeni bir DbFunctionExpression.

Özel durumlar

spatialValue indexValue

Şunlara uygulanır