Share via


DbGeometry.Centroid Property

Definition

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

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", Justification="Naming convention prescribed by OGC specification", MessageId="Centroid")]
public System.Data.Entity.Spatial.DbGeometry Centroid { get; }
member this.Centroid : System.Data.Entity.Spatial.DbGeometry
Public ReadOnly Property Centroid As DbGeometry

Property Value

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

Attributes

Applies to