Condividi tramite


Metodo DbSpatialServices.GetEndPoint (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 DbGeography che rappresenta il punto finale del valore DbGeography specificato, che potrebbe essere Null se il valore non rappresenta una curva.

Spazio dei nomi:  System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
Public MustOverride Function GetEndPoint ( _
    geographyValue As DbGeography _
) As DbGeography
'Utilizzo
Dim instance As DbSpatialServices 
Dim geographyValue As DbGeography 
Dim returnValue As DbGeography 

returnValue = instance.GetEndPoint(geographyValue)
public abstract DbGeography GetEndPoint(
    DbGeography geographyValue
)
public:
virtual DbGeography^ GetEndPoint(
    DbGeography^ geographyValue
) abstract
abstract GetEndPoint : 
        geographyValue:DbGeography -> DbGeography
public abstract function GetEndPoint(
    geographyValue : DbGeography
) : DbGeography

Parametri

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeography
Punto finale di geographyValue, se rappresenta un curva. In caso contrario, Null.

Eccezioni

Eccezione Condizione
ArgumentNullException

geographyValue è null.

ArgumentException

geographyValue non è compatibile con l'implementazione spaziale dei servizi.

Vedere anche

Riferimento

DbSpatialServices Classe

Overload GetEndPoint

Spazio dei nomi System.Data.Entity.Spatial