SpatialEdmFunctions.SpatialElementAt(DbExpression, DbExpression) 메서드

정의

지정된 인수를 사용하여 정식 'SpatialElementAt' 함수를 호출하는 DbFunctionExpression을 만듭니다. 첫 번째 인수에는 Edm.Geography 또는 Edm.Geometry 결과 형식을 사용해야 합니다. 두 번째 인수에는 정수 결과 형식을 사용해야 합니다. 식의 결과 형식은 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

지리 또는 기하 도형 컬렉션 값을 지정하는 식입니다.

indexValue
DbExpression

기하 도형 또는 지리 컬렉션 내에서 검색할 요소의 위치를 지정하는 식입니다.

반환

indexValue의 위치 spatialValue에 있는 컬렉션 요소 또는 spatialValue가 컬렉션이 아닌 경우 null를 반환하는 새 DbFunctionExpression입니다.

예외

spatialValue indexValue

적용 대상