Microsoft Identity Integration Server 2003 Developer Reference

ValueCollection.Contains (Int64)

The Contains (Int64) method determines if the ValueCollection contains an element that matches an integer value.
public Boolean Contains(
  Int64 val
[Visual Basic .NET]
Public Function Contains( _
  ByVal val As Int64 _
) As Boolean


Contains an Int64 value to search for in the ValueCollection.

Return Values

Returns True if the ValueCollection object contains an element that matches val or False if it does not.


Exception type Condition
InvalidOperationException The value of the val parameter cannot be converted to the data type of the collection.


Product: Microsoft Identity Integration Server 2003
Namespace: Defined in Microsoft.MetadirectoryServices.
Assembly: Requires Microsoft.MetadirectoryServices (in Microsoft.MetadirectoryServices.dll).
.NET Framework: Requires .NET Framework 1.1.

See Also