Metodo SqlSpatialServices.ElementAt (DbGeography, Int32)
[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 elemento del valore DbGeography specificato, se rappresenta una raccolta di valori geografici.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function ElementAt ( _
geographyValue As DbGeography, _
index As Integer _
) As DbGeography
'Utilizzo
Dim instance As SqlSpatialServices
Dim geographyValue As DbGeography
Dim index As Integer
Dim returnValue As DbGeography
returnValue = instance.ElementAt(geographyValue, _
index)
public override DbGeography ElementAt(
DbGeography geographyValue,
int index
)
public:
virtual DbGeography^ ElementAt(
DbGeography^ geographyValue,
int index
) override
abstract ElementAt :
geographyValue:DbGeography *
index:int -> DbGeography
override ElementAt :
geographyValue:DbGeography *
index:int -> DbGeography
public override function ElementAt(
geographyValue : DbGeography,
index : int
) : DbGeography
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico che non deve rappresentare una raccolta di valori geografici.
- index
Tipo: System.Int32
Posizione all'interno del valore geografico da cui derivare l'elemento.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeography
Elemento in geographyValue alla posizione index, se rappresenta una raccolta di altri valori geografici. In caso contrario, Null.