DbSpatialServices.GetPointCount Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the number of points in the given value.
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:
abstract Nullable<int> GetPointCount(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract int? GetPointCount (System.Data.Spatial.DbGeography geographyValue);
abstract member GetPointCount : System.Data.Spatial.DbGeography -> Nullable<int>
Public MustOverride 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.
Exceptions
geographyValue
geographyValue
Applies to
GetPointCount(DbGeometry)
Returns the number of points in the given DbGeometry value, if it represents a linestring or linear ring.
public:
abstract Nullable<int> GetPointCount(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract int? GetPointCount (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetPointCount : System.Data.Spatial.DbGeometry -> Nullable<int>
Public MustOverride 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.
Exceptions
geometryValue
geometryValue