System::Collections::Generic::IEnumerable::LINQ_Count metodo
IEnumerable::LINQ_Count() method
Restituisce il numero di elementi nella sequenza (calcolato tramite conteggio diretto).
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.
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
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.Font for C++