Condividi tramite


SqlSpatialServices.GetElementCount Metodo

Definizione

Overload

GetElementCount(DbGeography)

Restituisce il numero di elementi nel valore DbGeography specificato, se rappresenta una raccolta geografica.

GetElementCount(DbGeometry)

Restituisce il numero di elementi nel valore DbGeometry specificato, se rappresenta una raccolta geometrica.

GetElementCount(DbGeography)

Restituisce il numero di elementi nel valore DbGeography specificato, se rappresenta una raccolta geografica.

public override Nullable<int> GetElementCount (System.Data.Entity.Spatial.DbGeography geographyValue);
override this.GetElementCount : System.Data.Entity.Spatial.DbGeography -> Nullable<int>
Public Overrides Function GetElementCount (geographyValue As DbGeography) As Nullable(Of Integer)

Parametri

geographyValue
DbGeography

Il valore di posizione geografica, che non deve rappresentare una raccolta geografica.

Restituisce

Numero di elementi in geographyValue, se rappresenta una raccolta di altri valori geography; in caso contrario null.

Si applica a

GetElementCount(DbGeometry)

Restituisce il numero di elementi nel valore DbGeometry specificato, se rappresenta una raccolta geometrica.

public override Nullable<int> GetElementCount (System.Data.Entity.Spatial.DbGeometry geometryValue);
override this.GetElementCount : System.Data.Entity.Spatial.DbGeometry -> Nullable<int>
Public Overrides Function GetElementCount (geometryValue As DbGeometry) As Nullable(Of Integer)

Parametri

geometryValue
DbGeometry

Il valore di posizione geometrica, che non deve rappresentare una raccolta geometrica.

Restituisce

Numero di elementi in geometryValue, se rappresenta una raccolta di altri valori geometry; in caso contrario null.

Si applica a