SpatialEdmFunctions.SpatialElementCount(DbExpression) 메서드

정의

DbFunctionExpression Edm.Geography 또는 Edm.Geometry 결과 형식이 있어야 하는 지정된 인수를 사용하여 정식 'SpatialElementCount' 함수를 호출하는 함수를 만듭니다. 식의 결과 형식은 Edm.Int32입니다.

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

매개 변수

spatialValue
DbExpression

요소 수를 검색할 지리 또는 기하 도형 컬렉션 값을 지정하는 식입니다.

반품

컬렉션에 있거나 컬렉션이 아닌 경우 spatialValue 요소 spatialValuenull 수를 반환하는 새 DbFunctionExpression입니다.

예외

spatialValue

spatialValue

적용 대상