## IEnumerable::LINQ_Count() method


Restituisce il numero di elementi nella sequenza (calcolato tramite conteggio diretto).

```cpp
int System::Collections::Generic::IEnumerable<T>::LINQ_Count()
```


### ReturnValue

Numero di elementi nella sequenza.

## Vedi anche

* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
## IEnumerable::LINQ_Count(const Func\<T, bool\>\&) method


Restituisce il numero di elementi nella sequenza che soddisfano la condizione specificata.

```cpp
int System::Collections::Generic::IEnumerable<T>::LINQ_Count(const Func<T, bool> &predicate)
```


| Parametro | Tipo | Descrizione |
| --- | --- | --- |
| predicato | const Func\<T, bool\>\& | Una funzione per verificare ogni elemento rispetto a una condizione. |

### ReturnValue

Numero di elementi nella sequenza che soddisfano la condizione specificata.

## Vedi anche

* Class [Func](../../../system/func/)
* Class [IEnumerable](../)
* Namespace [System::Collections::Generic](../../)
* Library [Aspose.Font for C++](../../../)
