DbGeometry.Centroid 属性

定义

获取表示此 DbGeometry 值的中心的 DbGeometry 值,如果此值不表示图面,则可能为 null。Gets the DbGeometry value that represents the centroid of this DbGeometry value, which may be null if this value does not represent a surface.

public:
 property System::Data::Spatial::DbGeometry ^ Centroid { System::Data::Spatial::DbGeometry ^ get(); };
public System.Data.Spatial.DbGeometry Centroid { get; }
member this.Centroid : System.Data.Spatial.DbGeometry
Public ReadOnly Property Centroid As DbGeometry

属性值

DbGeometry

表示 DbGeometry 值的中心的 DbGeometry 值。The DbGeometry value that represents the centroid of this DbGeometry value.

适用于