Gets or sets the value of the property.
[Visual Basic] Overridable Public Property Value As Object [C#] public object Value {virtual get; virtual set;} [C++] public: __property virtual Object* get_Value(); public: __property virtual void set_Value(Object*); [JScript] public function get Value() : Object; public function set Value(Object);
The value of the DirectoryEntryProperty. If the DirectoryEntryProperty has multiple values, the Value will be an array of the values.
Exception Type | Condition |
---|---|
COMException | The DirectoryEntryProperty does not have a value.
-or- The value is not a valid type for the property. The associated error code is E_ADS_PROPERTY_INVALID. |
DirectoryEntryProperty Class | DirectoryEntryProperty Members | System.DirectoryServices Namespace