Udostępnij za pośrednictwem


DbSpatialServices.GetLength Metoda

Definicja

Zwraca wartość podwójną dopuszczaną do wartości null, która wskazuje długość danej wartości.

Przeciążenia

GetLength(DbGeography)

Zwraca podwójną wartość dopuszczaną do wartości null, która wskazuje długość danej DbGeography wartości, która może mieć wartość null, jeśli wartość nie reprezentuje krzywej.

GetLength(DbGeometry)

Zwraca podwójną wartość dopuszczaną do wartości null, która wskazuje długość danej DbGeometry wartości, która może mieć wartość null, jeśli wartość nie reprezentuje krzywej.

GetLength(DbGeography)

Zwraca podwójną wartość dopuszczaną do wartości null, która wskazuje długość danej DbGeography wartości, która może mieć wartość null, jeśli wartość nie reprezentuje krzywej.

public:
 abstract Nullable<double> GetLength(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract double? GetLength (System.Data.Spatial.DbGeography geographyValue);
abstract member GetLength : System.Data.Spatial.DbGeography -> Nullable<double>
Public MustOverride Function GetLength (geographyValue As DbGeography) As Nullable(Of Double)

Parametry

geographyValue
DbGeography

Wartość geografii, która nie musi reprezentować krzywej.

Zwraca

Długość podanej DbGeography wartości.

Wyjątki

geographyValue

geographyValue

Dotyczy

GetLength(DbGeometry)

Zwraca podwójną wartość dopuszczaną do wartości null, która wskazuje długość danej DbGeometry wartości, która może mieć wartość null, jeśli wartość nie reprezentuje krzywej.

public:
 abstract Nullable<double> GetLength(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract double? GetLength (System.Data.Spatial.DbGeometry geometryValue);
abstract member GetLength : System.Data.Spatial.DbGeometry -> Nullable<double>
Public MustOverride Function GetLength (geometryValue As DbGeometry) As Nullable(Of Double)

Parametry

geometryValue
DbGeometry

Wartość geometryczna, która nie musi reprezentować krzywej.

Zwraca

Długość podanej DbGeometry wartości.

Wyjątki

geometryValue

geometryValue

Dotyczy