Udostępnij przez


SqlSpatialServices.GetLength Metoda

Definicja

Przeciążenia

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.

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 override Nullable<double> GetLength(System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetLength : System.Data.Entity.Spatial.DbGeometry -> Nullable<double>
Public Overrides 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.

Dotyczy

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 override Nullable<double> GetLength(System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetLength : System.Data.Entity.Spatial.DbGeography -> Nullable<double>
Public Overrides 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.

Dotyczy