Metodo DbSpatialServices.GetStartPoint (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 iniziale 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 GetStartPoint ( _
geographyValue As DbGeography _
) As DbGeography
'Utilizzo
Dim instance As DbSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As DbGeography
returnValue = instance.GetStartPoint(geographyValue)
public abstract DbGeography GetStartPoint(
DbGeography geographyValue
)
public:
virtual DbGeography^ GetStartPoint(
DbGeography^ geographyValue
) abstract
abstract GetStartPoint :
geographyValue:DbGeography -> DbGeography
public abstract function GetStartPoint(
geographyValue : DbGeography
) : DbGeography
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico che non deve rappresentare una curva.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeography
Punto iniziale del valore DbGeography specificato.
Eccezioni
Eccezione | Condizione |
---|---|
ArgumentNullException | geographyValue è null. |
ArgumentException | geographyValue non è compatibile con l'implementazione spaziale dei servizi. |