Compartilhar via


DbSpatialServices.Contains(DbGeometry, DbGeometry) Método

Definição

Determina se um valor DbGeometry 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 de geometria.

otherGeometry
DbGeometry

O segundo valor de geometria.

Retornos

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

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a