Поделиться через


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)

Syntax

'Declaration
Public Property Size As Integer
    Get
    Set
'Usage
Dim instance As AttachmentType
Dim value As Integer

value = instance.Size

instance.Size = value
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.

Remarks

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