Share via


DbSpatialServices.Contains(DbGeometry, DbGeometry) Método

Definición

Determina si un valor DbGeometry contiene espacialmente el otro.

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

Parámetros

geometryValue
DbGeometry

Primer valor de geometría.

otherGeometry
DbGeometry

Segundo valor de geometría.

Devoluciones

Es true si geometryValue contiene otherGeometry; de lo contrario, es false.

Excepciones

geometryValue otherGeometry

geometryValue otherGeometry

Se aplica a