ReadOnlyLinkedElementCollection<T>.TrueForAll Method

Checks if a given condition is true for all elements in the collection.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)

Syntax

'Declaration
Public Function TrueForAll ( _
    match As Predicate(Of T) _
) As Boolean
'Usage
Dim instance As ReadOnlyLinkedElementCollection 
Dim match As Predicate(Of T)
Dim returnValue As Boolean 

returnValue = instance.TrueForAll(match)
public bool TrueForAll(
    Predicate<T> match
)
public:
bool TrueForAll(
    Predicate<T>^ match
)
public function TrueForAll(
    match : Predicate<T>
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the predicate returned true for all elements or if the collection is empty; otherwise, false.

.NET Framework Security

See Also

Reference

ReadOnlyLinkedElementCollection<T> Class

ReadOnlyLinkedElementCollection<T> Members

Microsoft.VisualStudio.Modeling Namespace