ImmutableList<T>.TrueForAll(Predicate<T>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether every element in the immutable list matches the conditions defined by the specified predicate.
public:
virtual bool TrueForAll(Predicate<T> ^ match);
public:
bool TrueForAll(Predicate<T> ^ match);
public bool TrueForAll (Predicate<T> match);
abstract member TrueForAll : Predicate<'T> -> bool
override this.TrueForAll : Predicate<'T> -> bool
member this.TrueForAll : Predicate<'T> -> bool
Public Function TrueForAll (match As Predicate(Of T)) As Boolean
Parameters
- match
- Predicate<T>
The delegate that defines the conditions to check against the elements.
Returns
true
if every element in the immutable list matches the conditions defined by the specified predicate; otherwise, false
. If the list has no elements, the return value is true
.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.