Gets 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.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in microsoft.metadirectoryservicesex.dll)

Usage

Visual Basic
Dim instance As Attrib
Dim value As String

value = instance.Value

instance.Value = value

Syntax

Visual Basic
Public MustOverride Property Value As String
C#
public abstract string Value { get; set; }
C++
public:
virtual property String^ Value {
		String^ get () abstract;
		void set (String^ value) abstract;
}
J#
/** @property */
public abstract String get_Value ()

/** @property */
public abstract void set_Value (String value)
JScript
public abstract function get Value () : String

public abstract function set Value (value : String)

Property Value

Returns a String.

Exceptions

Exception type Condition
System.InvalidOperationException

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

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

[an error occurred while processing this directive]