Share via


AttributeChange.CreateAttributeAdd Method (String, IList)

Create an instance of the AttributeChange class whose AttributeModificationType is Add with multiple attribute values.

Namespace: Microsoft.MetadirectoryServices
Assembly: Microsoft.MetadirectoryServicesEx (in Microsoft.MetadirectoryServicesEx.dll)

Usage

'Usage
Dim attributeName As String
Dim values As IList(Of Object)
Dim returnValue As AttributeChange

returnValue = AttributeChange.CreateAttributeAdd(attributeName, values)

Syntax

'Declaration
Public Shared Function CreateAttributeAdd ( _
    attributeName As String, _
    values As IList(Of Object) _
) As AttributeChange
public static AttributeChange CreateAttributeAdd (
    string attributeName,
    IList<Object> values
)
public:
static AttributeChange^ CreateAttributeAdd (
    String^ attributeName, 
    IList<Object^>^ values
)
public static AttributeChange CreateAttributeAdd (
    String attributeName, 
    IList<Object> values
)
public static function CreateAttributeAdd (
    attributeName : String, 
    values : IList<Object>
) : AttributeChange

Parameters

  • attributeName
    Contains an attribute name.
  • values
    Contains a collection of attribute values .

Return Value

Returns AttributeChange.

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

Reference

AttributeChange Class
AttributeChange Members
Microsoft.MetadirectoryServices Namespace