Developer Resources for AbleCommerce eCommerce platform
CommerceBuilder.DomainModel Namespace / PersistableList<T> Class / Contains Method / Contains(Object,Object) Method
the collection
the entity
Version
Contains(Object,Object) Method
Optional operation. Does the collection contain the entity instance?
Syntax
public bool Contains( 
   object collection,
   object entity
)

Parameters

collection
the collection
entity
the entity

Return Value

true if the collection contains the entity
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