Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DbGeometry.Centroid Property

.NET Framework 4.6 and 4.5

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.Spatial
Assembly:  System.Data.Entity (in System.Data.Entity.dll)

public DbGeometry Centroid { get; }

Property Value

Type: System.Data.Spatial.DbGeometry
The DbGeometry value that represents the centroid of this DbGeometry value.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft