Microsoft Identity Integration Server 2003 Developer Reference


The Values property retrieves or sets a ValueCollection object that contains the value or values of the attribute. This property applies to both single-valued and multi-valued attributes.
public ValueCollection Values {get; set;}
[Visual Basic .NET]
Public Property Values As ValueCollection


Exception type Condition
ArgumentNullException Null reference value.
InvalidOperationException One of the values contained in the source collection cannot be converted to the data type of the target collection.


Assigning an empty ValueCollection to the Values property is the same as calling the ValueCollection.Clear method. They both remove all values from the ValueCollection.


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, Attrib