Microsoft Identity Integration Server 2003 Developer Reference

ValueCollection.Contains (Byte[])

The Contains (Byte[]) method determines if the ValueCollection contains an element that matches a binary value.
[C#]
public Boolean Contains(
  Byte[] val
);
[Visual Basic .NET]
Public Function Contains( _
  ByVal val() As Byte _
) As Boolean

Parameters

val
Contains an array of Bytes that contains the binary data 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.

Exceptions

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

Requirements

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

ValueCollection