EwsDownloadItem Method (FolderId, Int32, PropertySet) |
Downloads an item in the specified folder at the specified index using
PropertySet settings.
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public EwsItem DownloadItem(
FolderId id,
int index,
PropertySet properties
)
Public Function DownloadItem (
id As FolderId,
index As Integer,
properties As PropertySet
) As EwsItem
Parameters
- id
- Type: FolderId
The ID of the folder. Null reference (Nothing in Visual Basic) not allowed. - index
- Type: SystemInt32
The zero-based index of the message to be downloaded. - properties
- Type: PropertySet
The settings which specify which portions of an MS Exchange item to download (e.g. item ID, mail header, body, etc).
If a null reference, only item ID is requested.
Return Value
Type:
EwsItemThe item in the given folder, or a null reference (
Nothing in Visual Basic) on error.
Exceptions Remarks See Also