Share via


AttributeChange.CreateAttributeAdd Method (String, Object)

Create an instance of the AttributeChange class whose AttributeModificationType is Add.

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

Usage

'Usage
Dim attributeName As String
Dim value As Object
Dim returnValue As AttributeChange

returnValue = AttributeChange.CreateAttributeAdd(attributeName, value)

Syntax

'Declaration
Public Shared Function CreateAttributeAdd ( _
    attributeName As String, _
    value As Object _
) As AttributeChange
public static AttributeChange CreateAttributeAdd (
    string attributeName,
    Object value
)
public:
static AttributeChange^ CreateAttributeAdd (
    String^ attributeName, 
    Object^ value
)
public static AttributeChange CreateAttributeAdd (
    String attributeName, 
    Object value
)
public static function CreateAttributeAdd (
    attributeName : String, 
    value : Object
) : AttributeChange

Parameters

  • attributeName
    Contains an attribute name.
  • value
    Contains an attribute value.

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