Ews.GetItem Method
Namespace: Rebex.Net
Assembly: Rebex.Ews.dll (version 7.0.9083)
GetItem(EwsItemId, String, EwsItemFormat)
Downloads and saves an item to specified path in specified format.
Declaration
public void GetItem(EwsItemId itemId, string filePath, EwsItemFormat format)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of an item to save. |
String | filePath | Path to a file where to save the item. |
EwsItemFormat | format | Format in which the item will be saved. |
GetItem(EwsItemId, Stream, EwsItemFormat)
Downloads and saves an item to specified stream in specified format.
Declaration
public void GetItem(EwsItemId itemId, Stream output, EwsItemFormat format)
Parameters
Type | Name | Description |
---|---|---|
EwsItemId | itemId | ID of an item to save. |
Stream | output | Stream to which to save the item. |
EwsItemFormat | format | Format in which the item will be saved. |