Sdílet prostřednictvím


DbSpatialServices.Contains(DbGeometry, DbGeometry) Metoda

Definice

Určuje, zda jedna DbGeometry hodnota prostorově obsahuje druhou.

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

První hodnota geometrie.

otherGeometry
DbGeometry

Druhá hodnota geometrie.

Návraty

true pokud geometryValue obsahuje otherGeometry; jinak false.

Výjimky

geometryValue otherGeometry

geometryValue otherGeometry

Platí pro