Condividi tramite


Proprietà DbGeography.ElementCount

[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.]

Ottiene il numero di elementi in questo valore DbGeography, se rappresenta una raccolta di valori geografici. <returns>Numero di elementi in questo valore geografico, se rappresenta una raccolta di altri valori geografici. In caso contrario, Null.</returns>

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

Sintassi

'Dichiarazione
Public ReadOnly Property ElementCount As Nullable(Of Integer)
    Get
'Utilizzo
Dim instance As DbGeography 
Dim value As Nullable(Of Integer)

value = instance.ElementCount
public Nullable<int> ElementCount { get; }
public:
property Nullable<int> ElementCount {
    Nullable<int> get ();
}
member ElementCount : Nullable<int>
function get ElementCount () : Nullable<int>

Valore proprietà

Tipo: System.Nullable<Int32>
Numero di elementi di questo valore DbGeography.

Vedere anche

Riferimento

DbGeography Classe

Spazio dei nomi System.Data.Entity.Spatial