Share via


ElementCollection.Exists Method (Microsoft.PerformancePoint.Scorecards)

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

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 ElementCollection(Of ElementCollectionType, ElementType)
Dim match As Predicate(Of ElementType)
Dim returnValue As Boolean

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

Parameters

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

Return Value

Returns true if the collection contains one or more elements that match the conditions defined by the specified predicate. Otherwise, returns false.

See Also

Reference

ElementCollection Generic Class
ElementCollection Members
Microsoft.PerformancePoint.Scorecards Namespace