Attrib.Values Property
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;}
Public Property Values As ValueCollection
Exceptions
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. |
Remarks
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.
Requirements
Product | ILM 2007 FP1 |
Namespace | Microsoft.MetadirectoryServices |
Assembly | Microsoft.MetadirectoryServices |
.NET Framework | .NET Framework 2.0 |
See Also
Send comments about this topic to Microsoft
Build date: 2/16/2009