This topic has not yet been rated - Rate this topic

ReadOnlyLinkedElementCollection.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.dll)

public bool TrueForAll (
	Predicate<T> match
)
public boolean TrueForAll (
	Predicate<T> match
)
public function TrueForAll (
	match : Predicate<T>
) : boolean

Parameters

match

The condition to check.

Return Value

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)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.