Partilhar via


DbSpatialServices.Within(DbGeometry, DbGeometry) Método

Definição

Determina se um valor DbGeometry está espacialmente dentro do outro.

public:
 abstract bool Within(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ otherGeometry);
public abstract bool Within (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry otherGeometry);
abstract member Within : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> bool
Public MustOverride Function Within (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 está dentro de otherGeometry; caso contrário, false.

Exceções

geometryValue otherGeometry

geometryValue otherGeometry

Aplica-se a