The
Add method adds a
Value object to the
ValueCollection.
Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in
microsoft.metadirectoryservicesex.dll)
Usage
Syntax
Visual Basic |
Public MustOverride Sub Add ( _
val As Value _
)
|
C# |
public abstract void Add (
Value val
)
|
C++ |
public:
virtual void Add (
Value^ val
) abstract
|
J# |
public abstract void Add (
Value val
)
|
JScript |
public abstract function Add (
val : Value
)
|
Parameters
- val
-
Contains a Value object that
will be added to the collection.
Exceptions
Exception type |
Condition |
System.ArgumentNullException
|
The argument is null.
|
System.InvalidOperationException
|
The value of the val parameter cannot be converted to
the data type of the collection.
|
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