Metodo SqlSpatialServices.GetLength (DbGeography)
[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]
Restituisce un valore Double che ammette i valori Null che indica la lunghezza del valore DbGeography specificato, che potrebbe essere Null se il valore non rappresenta una curva.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function GetLength ( _
geographyValue As DbGeography _
) As Nullable(Of Double)
'Utilizzo
Dim instance As SqlSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As Nullable(Of Double)
returnValue = instance.GetLength(geographyValue)
public override Nullable<double> GetLength(
DbGeography geographyValue
)
public:
virtual Nullable<double> GetLength(
DbGeography^ geographyValue
) override
abstract GetLength :
geographyValue:DbGeography -> Nullable<float>
override GetLength :
geographyValue:DbGeography -> Nullable<float>
public override function GetLength(
geographyValue : DbGeography
) : Nullable<double>
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico che non deve rappresentare una curva.
Valore restituito
Tipo: System.Nullable<Double>
Lunghezza del valore DbGeography specificato.