Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.Common Namespace / CollectionEmulator Class / Find<T> Method
The type of the list.
The list of items to search.
Predicate to use for matching
In This Topic
    Find<T> Method (CollectionEmulator)
    In This Topic
    Find an object in this collection using the given predicate
    Syntax
    [Extension()]
    public static T Find<T>( 
       IList<T> list,
       Predicate<T> match
    )

    Parameters

    list
    The list of items to search.
    match
    Predicate to use for matching

    Type Parameters

    T
    The type of the list.

    Return Value

    The matched object
    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