Attrib.Value Property

The Value property retrieves or sets the value of a single-valued attribute. The value can contain escaped characters. Use this property with single-valued attributes only. Do not use this property for multi-valued attributes.

public String Value {get; set;}
Public Property Value As String

Exceptions

Exception type Condition
InvalidOperationException

The attribute contains zero or more than one value. Use the Attrib.Values property for multi-valued attributes.

Requirements

Product ILM 2007 FP1
Namespace Microsoft.MetadirectoryServices
Assembly Microsoft.MetadirectoryServices
.NET Framework .NET Framework 2.0

See Also

Attrib.Values
Attrib

Send comments about this topic to Microsoft

Build date: 2/16/2009