Share via


SqlSpatialServices.GetPointCount Method

Definition

Overloads

GetPointCount(DbGeography)

Returns the number of points in the given DbGeography value, if it represents a linestring or linear ring.

GetPointCount(DbGeometry)

Returns the number of points in the given DbGeometry value, if it represents a linestring or linear ring.

GetPointCount(DbGeography)

Returns the number of points in the given DbGeography value, if it represents a linestring or linear ring.

public override Nullable<int> GetPointCount (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetPointCount : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public Overrides Function GetPointCount (geographyValue As DbGeography) As Nullable(Of Integer)

Parameters

geographyValue
DbGeography

The geography value, which need not represent a linestring or linear ring.

Returns

The number of points in the given DbGeography value.

Applies to

GetPointCount(DbGeometry)

Returns the number of points in the given DbGeometry value, if it represents a linestring or linear ring.

public override Nullable<int> GetPointCount (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetPointCount : System.Data.Entity.Spatial.DbGeometry -> Nullable<int>
Public Overrides Function GetPointCount (geometryValue As DbGeometry) As Nullable(Of Integer)

Parameters

geometryValue
DbGeometry

The geometry value, which need not represent a linestring or linear ring.

Returns

The number of points in the given DbGeometry value.

Applies to