Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

CollectionUtils.Contains Method

Determines whether the collection contains the specified element.

[Visual Basic]
Public Shared Sub Contains( _
   ByVal collection As IEnumerable, _
   ByVal element As Object _
)
[C#]
public static bool Contains(
   IEnumerable collection,
   object element
);

Parameters

collection
The collection to check.
element
The object to locate in the collection.

Return Value

if the element is in the collection, otherwise.

See Also

CollectionUtils Class | Spring.Util Namespace