Condividi tramite


Metodo SqlSpatialServices.GetLength (DbGeometry)

[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 DbGeometry 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 ( _
    geometryValue As DbGeometry _
) As Nullable(Of Double)
'Utilizzo
Dim instance As SqlSpatialServices 
Dim geometryValue As DbGeometry 
Dim returnValue As Nullable(Of Double)

returnValue = instance.GetLength(geometryValue)
public override Nullable<double> GetLength(
    DbGeometry geometryValue
)
public:
virtual Nullable<double> GetLength(
    DbGeometry^ geometryValue
) override
abstract GetLength : 
        geometryValue:DbGeometry -> Nullable<float> 
override GetLength : 
        geometryValue:DbGeometry -> Nullable<float> 
public override function GetLength(
    geometryValue : DbGeometry
) : Nullable<double>

Parametri

Valore restituito

Tipo: System.Nullable<Double>
Lunghezza del valore DbGeometry specificato.

Vedere anche

Riferimento

SqlSpatialServices Classe

Overload GetLength

Spazio dei nomi System.Data.Entity.SqlServer