IList: Contains

Contains

Determines if the list contains a specific value.



 Public Function Contains(
	  ByRef Value As Variant,
	  Optional ByVal Comparer As IComparer ) As Boolean

Parameters

Value
[ByRef] Variant. the value to check the list for.
Comparer
[ByVal] Optional. IComparer. A custom comparer used for comparing values in the list to the value being sought.

Return Values

Boolean -  An indication of the value being found in the list.

Remarks

See Also

Project VBCorLib Overview Class IList Overview IList Properties IList Methods Clear CopyTo