共用方式為


DbSpatialServices.Disjoint 方法

定義

多載

Disjoint(DbGeography, DbGeography)

判斷兩個指定的 DbGeography 值是否在空間上不相交。

Disjoint(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上不相交。

Disjoint(DbGeography, DbGeography)

判斷兩個指定的 DbGeography 值是否在空間上不相交。

public abstract bool Disjoint(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
abstract member Disjoint : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> bool
Public MustOverride Function Disjoint (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

參數

geographyValue
DbGeography

要比較不連續的第一個地理值。

otherGeography
DbGeography

要比較不連續的第二個地理值。

傳回

如果 geographyValue 與 otherGeography 不相交,則為 true;否則為 false。

例外狀況

geographyValueotherGeography 為 null。

geographyValueotherGeography 與這個空間服務實作不相容。

適用於

Disjoint(DbGeometry, DbGeometry)

判斷兩個指定的 DbGeometry 值是否在空間上不相交。

public abstract bool Disjoint(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member Disjoint : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public MustOverride Function Disjoint (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

參數

geometryValue
DbGeometry

要比較不連續的第一個幾何值。

otherGeometry
DbGeometry

要比較不連續的第二個幾何值。

傳回

如果 geometryValue 與 otherGeometry 不相交,則為 true;否則為 false。

例外狀況

geometryValueotherGeometry 為 null。

geometryValueotherGeometry 與這個空間服務實作不相容。

適用於