DbSpatialServices.GetElementCount Método
Definição
Retorna o número de elementos no conjunto fornecido.Returns the number of elements in the given value.
Sobrecargas
| GetElementCount(DbGeometry) |
Retorna o número de elementos no valor DbGeometry determinado, se ele representa uma coleção de geometrias.Returns the number of elements in the given DbGeometry value, if it represents a geometry collection. |
| GetElementCount(DbGeography) |
Retorna o número de elementos no valor DbGeography determinado, se ele representa uma coleção de geografias.Returns the number of elements in the given DbGeography value, if it represents a geography collection. |
GetElementCount(DbGeometry)
Retorna o número de elementos no valor DbGeometry determinado, se ele representa uma coleção de geometrias.Returns the number of elements in the given DbGeometry value, if it represents a geometry collection.
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)
Parâmetros
- geometryValue
- DbGeometry
O valor de geometria, que não necessariamente representa uma coleção de geometrias.The geometry value, which need not represent a geometry collection.
Retornos
O número de elementos em geometryValue, se ele representa uma coleção de outros valores de geometria; caso contrário, null.The number of elements in geometryValue, if it represents a collection of other geometry values; otherwise null.
Exceções
geometryValue
geometryValue
Aplica-se a
GetElementCount(DbGeography)
Retorna o número de elementos no valor DbGeography determinado, se ele representa uma coleção de geografias.Returns the number of elements in the given DbGeography value, if it represents a geography collection.
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)
Parâmetros
- geographyValue
- DbGeography
O valor de geografia, que não necessariamente representa uma coleção de geografias.The geography value, which need not represent a geography collection.
Retornos
O número de elementos em geographyValue, se ele representa uma coleção de outros valores de geografia; caso contrário, null.The number of elements in geographyValue, if it represents a collection of other geography values; otherwise null.
Exceções
geographyValue
geographyValue