DbSpatialServices.GetPointCount Metoda

Definicja

Zwraca liczbę punktów w danej wartości.

Przeciążenia

GetPointCount(DbGeography)

Zwraca liczbę punktów w danej wartości, jeśli reprezentuje ona DbGeography linię lub pierścień liniowy.

GetPointCount(DbGeometry)

Zwraca liczbę punktów w danej wartości, jeśli reprezentuje ona DbGeometry linię lub pierścień liniowy.

GetPointCount(DbGeography)

Zwraca liczbę punktów w danej wartości, jeśli reprezentuje ona DbGeography linię lub pierścień liniowy.

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)

Parametry

geographyValue
DbGeography

Wartość geografii, która nie musi reprezentować linii ani pierścienia liniowego.

Zwraca

Nullable<Int32>

Liczba punktów w danej DbGeography wartości.

Wyjątki

geographyValue

geographyValue

Dotyczy

GetPointCount(DbGeometry)

Zwraca liczbę punktów w danej wartości, jeśli reprezentuje ona DbGeometry linię lub pierścień liniowy.

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)

Parametry

geometryValue
DbGeometry

Wartość geometrii, która nie musi reprezentować linii ani pierścienia liniowego.

Zwraca

Nullable<Int32>

Liczba punktów w danej DbGeometry wartości.

Wyjątki

Geometryvalue

geometryValue

Dotyczy