SqlSpatialServices.Contains(DbGeometry, DbGeometry) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether one DbGeometry value spatially contains the other.
public override bool Contains (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.Contains : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides Function Contains (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean
Parameters
- geometryValue
- DbGeometry
The first geometry value.
- otherGeometry
- DbGeometry
The second geometry value.
Returns
true if geometryValue contains otherGeometry; otherwise false.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework