Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Data Namespace / ISessionSummaryCollection Interface / Find Method
The Predicate delegate that defines the conditions of the elements to search for.

In This Topic
    Find Method (ISessionSummaryCollection)
    In This Topic
    Searches for an element that matches the conditions defined by the specified predicate, and returns the first occurrence within the entire List.
    Syntax

    Parameters

    match
    The Predicate delegate that defines the conditions of the elements to search for.

    Return Value

    The first element that matches the conditions defined by the specified predicate, if found; otherwise, null.
    Exceptions
    ExceptionDescription
    match is a null reference (Nothing in Visual Basic)
    Remarks
    The Predicate is a delegate to a method that returns true if the object passed to it matches the conditions defined in the delegate. The elements of the current List are individually passed to the Predicate delegate, moving forward in the List, starting with the first element and ending with the last element. Processing is stopped when a match is found.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also