DbGeometry.Centroid Property

 

Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", 
	MessageId = "Centroid", Justification = "Naming convention prescribed by OGC specification")]
public DbGeometry Centroid { get; }

Property Value

Type: System.Data.Entity.Spatial.DbGeometry

The DbGeometry value that represents the centroid of this DbGeometry value.