2.2.4.5 t:FileAttachmentType Complex Type

The FileAttachmentType complex type represents a file that is attached to an item in the server store. The FileAttachmentType complex type extends the AttachmentType complex type, as specified in section 2.2.4.4.

 <xs:complexType name="FileAttachmentType">
   <xs:complexContent>
     <xs:extension name="FileAttachmentType"
       base="t:AttachmentType"
     >
       <xs:sequence>
         <xs:element name="IsContactPhoto"
           type="xs:boolean"
           minOccurs="0"
           maxOccurs="1"
          />
         <xs:element name="Content"
           type="xs:base64Binary"
           minOccurs="0"
           maxOccurs="1"
          />
       </xs:sequence>
     </xs:extension>
   </xs:complexContent>
 </xs:complexType>
  

The following table lists the child elements of the FileAttachmentType complex type.

Element

Type

Description

IsContactPhoto<2>

xs:boolean ([XMLSCHEMA2])

A value that indicates whether this attachment is a contact photo. A text value of "true" indicates that the attachment is a contact photo.

Content

xs:base64Binary ([XMLSCHEMA2])

Represents the base64-encoded contents of the file attachment.