Infragistics2.Shared.v8.1
Contains Method
See Also 
Infragistics.Shared Namespace > DisposableObjectCollectionBase Class : Contains Method

obj
Returns true if the collection contains the instance specified.

Syntax

Visual Basic (Declaration) 
Public Function Contains( _
   ByVal obj As Object _
) As Boolean
C# 
public bool Contains( 
   object obj
)

Parameters

obj

Return Value

True if the object is contained within the collection.

Remarks

Note: This method checks the collection for the specific instance of the object that is provided. It does not check the collection for an object with a particular key. If this collection is a KeyedSubObjectsCollectionBase then you can use the KeyedSubObjectsCollectionBase.Exists method to see if an item exists in the collection with the specified key.

See Also