Udostępnij za pośrednictwem


DbSpatialServices.Contains(DbGeometry, DbGeometry) Metoda

Definicja

Określa, czy jedna DbGeometry wartość przestrzennie zawiera drugą.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometrii.

Zwraca

true if geometryValue contains otherGeometry; w przeciwnym razie false.

Wyjątki

geometryValue otherGeometry

geometryValue otherGeometry

Dotyczy