Udostępnij za pośrednictwem


DbSpatialServices.GetMeasure Metoda

Definicja

Przeciążenia

GetMeasure(DbGeography)

Zwraca współrzędną M (Miara) danej DbGeography wartości, jeśli reprezentuje punkt.

GetMeasure(DbGeometry)

Zwraca współrzędną M (Miara) danej DbGeometry wartości, jeśli reprezentuje punkt.

GetMeasure(DbGeography)

Zwraca współrzędną M (Miara) danej DbGeography wartości, jeśli reprezentuje punkt.

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

Parametry

geographyValue
DbGeography

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

Zwraca

Współrzędna M (Miara) danej DbGeography wartości.

Wyjątki

geographyValue ma wartość null.

geographyValue jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy

GetMeasure(DbGeometry)

Zwraca współrzędną M (Miara) danej DbGeometry wartości, jeśli reprezentuje punkt.

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

Parametry

geometryValue
DbGeometry

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

Zwraca

Współrzędna M (Miara) danej DbGeometry wartości.

Wyjątki

geometryValue ma wartość null.

geometryValue jest niezgodny z tą implementacją usług przestrzennych.

Dotyczy