語言

SqlSpatialServices.Contains(DbGeometry, DbGeometry) 方法

定義

判斷一個 DbGeometry 值是否在空間上包含另一個值。

public override bool Contains(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Contains : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides Function Contains (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

參數

geometryValue
DbGeometry

第一個幾何值。

otherGeometry
DbGeometry

第二個幾何值。

傳回

若 geometryValue 包含其他幾何體則為真;否則為假。

適用於