SpatialEdmFunctions.Centroid(DbExpression) 메서드

정의

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

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

매개 변수

geometryValue
DbExpression

중앙을 검색할 기하학 표면 값을 지정하는 식입니다.

반환

geometryValue의 중심 점(표면 자체에 없을 수 있음)을 반환하거나 geometryValue가 표면이 아닌 경우 null을 반환하는 새 DbFunctionExpression입니다.

예외

geometryValue

geometryValue

적용 대상