語言

DbGeometry.Contains(DbGeometry) 方法

定義

判斷此 DbGeometry 值是否在空間上包含指定的 DbGeometry 參數。

public bool Contains(System.Data.Entity.Spatial.DbGeometry other);
member this.Contains : System.Data.Entity.Spatial.DbGeometry -> bool
Public Function Contains (other As DbGeometry) As Boolean

參數

other
DbGeometry

幾何值應該與這個幾何值比較以進行包含。

傳回

若該幾何值包含其他,則為真;否則為假。

例外狀況

適用於