Condividi tramite


DbSpatialServices.Contains(DbGeometry, DbGeometry) Metodo

Definizione

Determina se un valore di DbGeometry contiene l'altro a livello spaziale.

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

Parametri

geometryValue
DbGeometry

Primo valore geometrico.

otherGeometry
DbGeometry

Secondo valore geometrico.

Restituisce

true se geometryValue contiene otherGeometry; in caso contrario, false.

Eccezioni

geometryValue otherGeometry

geometryValue otherGeometry

Si applica a