attr (delta) Element

The <attr> child element of the <delta> parent element contains information about an attribute of the object.

Usage

<attr
    operation = "operation"
    name = "Any character string"
    type = "type"
    multivalued = "boolean"
/>

Attributes

Attribute Type Required Description

operation

operation

No

The operation that is applied to the object attribute during an update. These include add, delete, replace, and update. This attribute is required for an update <delta>.

name

character string

Yes

The name of the attribute.

type

type

No

The data type of the attribute. Attributes can have the following types.

TypeDescription
BinaryThe value is an array of bytes. The attribute can be single-valued or multi-valued.
BooleanThe value is Boolean and can only be true or false. The attribute is single-valued.
NumberThe value is a 64-bit integer. The attribute can be single-valued or multi-valued.
StringThe value is a string. The attribute can be single-valued or multi-valued.

multivalued

boolean

No

Whether the attribute is multi-valued. This value is true if multi-valued and false if single-valued.

Child Elements

Element Description

<value>

The value of the attribute.

Parent Elements

Element

<delta>

Child Element Sequence

The tree shows the ordering and number of child elements. Child elements in a Sequence must appear in the order given and child elements in a Choice are mutually exclusive. Sequences and Choices can be nested. Element names are followed by the minimum and maximum occurrences.

value (Minimum = 1; Maximum = many)

Element Information

Can be empty No

Send comments about this topic to Microsoft

Build date: 2/16/2009