This topic has not yet been rated - Rate this topic

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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
public bool TrueForAll(
	Predicate<T> match
)

Parameters

match
Type: Predicate<T>

The condition to check.

Return Value

Type: Boolean
true if the predicate returned true for all elements or if the collection is empty; otherwise, false.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.