FirstClassElementCollectionBase<ElementCollectionType, ElementType>.Exists method

Determines whether the collection contains elements that match the conditions defined by the specified predicate.

Namespace:  Microsoft.PerformancePoint.Scorecards
Assembly:  Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)

Syntax

'Declaration
Public Function Exists ( _
    match As Predicate(Of ElementType) _
) As Boolean
'Usage
Dim instance As FirstClassElementCollectionBase
Dim match As Predicate(Of ElementType)
Dim returnValue As Boolean

returnValue = instance.Exists(match)
public bool Exists(
    Predicate<ElementType> match
)

Parameters

  • match
    Type: System.Predicate<ElementType>

    The System.Predicate<ElementType> delegate that defines the conditions of the elements to search for.

Return value

Type: System.Boolean
true if the collection contains one or more elements that match the conditions defined by the specified predicate; otherwise, false.

See also

Reference

FirstClassElementCollectionBase<ElementCollectionType, ElementType> class

FirstClassElementCollectionBase<ElementCollectionType, ElementType> members

Microsoft.PerformancePoint.Scorecards namespace