Metodo SqlSpatialServices.GetPointCount (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 il numero di punti nel valore DbGeography specificato, se rappresenta una linea spezzata o un anello lineare.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function GetPointCount ( _
geographyValue As DbGeography _
) As Nullable(Of Integer)
'Utilizzo
Dim instance As SqlSpatialServices
Dim geographyValue As DbGeography
Dim returnValue As Nullable(Of Integer)
returnValue = instance.GetPointCount(geographyValue)
public override Nullable<int> GetPointCount(
DbGeography geographyValue
)
public:
virtual Nullable<int> GetPointCount(
DbGeography^ geographyValue
) override
abstract GetPointCount :
geographyValue:DbGeography -> Nullable<int>
override GetPointCount :
geographyValue:DbGeography -> Nullable<int>
public override function GetPointCount(
geographyValue : DbGeography
) : Nullable<int>
Parametri
- geographyValue
Tipo: System.Data.Entity.Spatial.DbGeography
Valore geografico che non deve rappresentare una linea spezzata o un anello lineare.
Valore restituito
Tipo: System.Nullable<Int32>
Numero di punti nel valore DbGeography specificato.