SpatialEdmFunctions.SpatialElementAt(DbExpression, DbExpression) Méthode
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un DbFunctionExpression qui appelle la fonction « SpatialElementAt » canonique avec les arguments spécifiés. Le premier argument doit avoir un type de résultat Edm.Geography ou Edm.Geometry. Le deuxième argument doit avoir un type de résultat numérique entier. Le type de résultat de l'expression est identique à celui de 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
- spatialValue
- DbExpression
Expression qui spécifie la valeur de collection géographique ou géométrique.
- indexValue
- DbExpression
Expression qui spécifie la position de l'élément à extraire de la collection géographique ou géométrique.
Nouvelle DbFunctionExpression qui retourne l'élément de collection à la position indexValue
dans spatialValue
ou null
si spatialValue
n'est pas une collection.
indexValue
spatialValue
indexValue
Produit | Versions |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Commentaires sur .NET
.NET est un projet open source. Sélectionnez un lien pour fournir des commentaires :