DbSpatialServices.Contains(DbGeometry, DbGeometry) Método

Definição

Determina se um DbGeometry valor contém espacialmente o outro.

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

O primeiro valor geométrico.

otherGeometry
DbGeometry

O segundo valor geométrico.

Devoluções

true se geometryValue contém otherGeometry; caso contrário false.

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a