2.2.2.1 ContentLength

The ContentLength element is a required child element of the search:Properties element ([MS-ASCMD] section 2.2.3.139.3) for Document class document items in a Search command response ([MS-ASCMD] section 2.2.1.16) that specifies the estimated size, in bytes, of the document. For more details about the Search command response for Document class items, see section 3.2.5.2.

The value of this element is an integer data type, as specified in [MS-ASDTYPE] section 2.6.

Because documents accessed by using the ActiveSync protocol can be shared across a network, it is possible that the value of the ContentLength element will differ between the time the document description is retrieved and the time the document is accessed.

Protocol Versions

The following table specifies the protocol versions that support this element. The client indicates the protocol version being used by setting either the MS-ASProtocolVersion header, as specified in [MS-ASHTTP] section 2.2.1.1.2.6, or the Protocol version field, as specified in [MS-ASHTTP] section 2.2.1.1.1.1, in the request.

Protocol version

Element support

2.5

12.0

Yes

12.1

Yes

14.0

Yes

14.1

Yes

16.0

Yes

16.1

Yes