DbSpatialServices.GetElementCount Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Restituisce il numero di elementi nel valore specificato.
Overload
| Nome | Descrizione |
|---|---|
| GetElementCount(DbGeometry) |
Restituisce il numero di elementi nel valore specificato DbGeometry , se rappresenta una raccolta geometry. |
| GetElementCount(DbGeography) |
Restituisce il numero di elementi nel valore specificato DbGeography , se rappresenta una raccolta geography. |
GetElementCount(DbGeometry)
Restituisce il numero di elementi nel valore specificato DbGeometry , se rappresenta una raccolta geometry.
public:
abstract Nullable<int> GetElementCount(System::Data::Spatial::DbGeometry ^ geometryValue);
public abstract int? GetElementCount(System.Data.Spatial.DbGeometry geometryValue);
abstract member GetElementCount : System.Data.Spatial.DbGeometry -> Nullable<int>
Public MustOverride Function GetElementCount (geometryValue As DbGeometry) As Nullable(Of Integer)
Parametri
- geometryValue
- DbGeometry
Valore geometry, che non deve rappresentare una raccolta geometry.
Valori restituiti
Numero di elementi in , se rappresenta una raccolta di altri valori geometry; in geometryValuecaso contrario null, .
Eccezioni
geometryValue
geometryValue
Si applica a
GetElementCount(DbGeography)
Restituisce il numero di elementi nel valore specificato DbGeography , se rappresenta una raccolta geography.
public:
abstract Nullable<int> GetElementCount(System::Data::Spatial::DbGeography ^ geographyValue);
public abstract int? GetElementCount(System.Data.Spatial.DbGeography geographyValue);
abstract member GetElementCount : System.Data.Spatial.DbGeography -> Nullable<int>
Public MustOverride Function GetElementCount (geographyValue As DbGeography) As Nullable(Of Integer)
Parametri
- geographyValue
- DbGeography
Valore geography, che non deve rappresentare una raccolta geography.
Valori restituiti
Numero di elementi in , se rappresenta una raccolta di altri valori geography; in geographyValuecaso contrario null, .
Eccezioni
geographyValue
geographyValue