Udostępnij za pośrednictwem


DbSpatialServices.Within(DbGeometry, DbGeometry) Metoda

Definicja

Określa, czy jedna DbGeometry wartość jest przestrzenna w drugiej.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometryczna.

Zwraca

true if geometryValue is within otherGeometry; w przeciwnym razie false.

Wyjątki

geometryValue otherGeometry

geometryValue otherGeometry

Dotyczy