System::Collections::Generic::IEnumerable::LINQ_Count method
IEnumerable::LINQ_Count() method
Returns the number of elements in the sequence (calculated via direct counting).
int System::Collections::Generic::IEnumerable<T>::LINQ_Count()
ReturnValue
Number of elements in the sequence.
See Also
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++
IEnumerable::LINQ_Count(const Func<T, bool>&) method
Returns the number of elements in the sequence that satisfy the specified condition.
int System::Collections::Generic::IEnumerable<T>::LINQ_Count(const Func<T, bool> &predicate)
Parameter | Type | Description |
---|---|---|
predicate | const Func<T, bool>& | A function to test each element for a condition. |
ReturnValue
Number of elements in the sequence that satisfy the specified condition.
See Also
- Class Func
- Class IEnumerable
- Namespace System::Collections::Generic
- Library Aspose.PDF for C++