This documentation is archived and is not being maintained.

AttachmentType.Size Property

The Size property gets or sets an integer value that represents the size in bytes of an attachment.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

public int Size { get; set; }

Property Value

Type: System.Int32
The value of the Size property is an integer that represents the size in bytes of the attachment.

You must set the SizeSpecified property to true so that the Size property is serialized into the SOAP request.

Show: