Appends the value to the set of values for this property.
[Visual Basic] Public Sub Add( _ ByVal value As Object _ ) [C#] public void Add( object value ); [C++] public: void Add( Object* value ); [JScript] public function Add( value : Object );
Exception Type | Condition |
---|---|
COMException | The value is not a valid type for the property. The associated error code is E_ADS_PROPERTY_INVALID. |
DirectoryEntryPropertyValueCollection Class | DirectoryEntryPropertyValueCollection Members | System.DirectoryServices Namespace