다음을 통해 공유


2.2.3.105.3 MaxSize (Search)

The MaxSize element is an optional child element of the Picture element in Search command requests that limits the size of contact photos returned in the server response.

All elements referenced in this section are defined in the Search namespace.

Command request/response

Parent elements

Child elements

Data type

Number allowed

Search command request (section 2.2.1.16)

Picture (section 2.2.3.135.3)

None

integer ([MS-ASDTYPE] section 2.6)

0…1 (optional)

The value of the MaxSize ​element MUST NOT be less than 0. The maximum value of the MaxSize element is 100 KB or 102400 bytes.

The MaxSize element specifies the maximum size of an individual contact photo that is returned in the response, in bytes. The MaxPictures element (section 2.2.3.104) specifies the maximum number of contact photos to return in the server response.

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

12.1

14.0

14.1

Yes

16.0

Yes

16.1

Yes