 | EWSContextGetMessageAttachments Method |
Gets message attachments and saves them to a specified directory.
Namespace:
Koden.Utils.Exchange
Assembly:
Koden.Utils.Exchange (in Koden.Utils.Exchange.dll) Version: 1.0.6453.26061
Syntaxpublic FWRetVal<string> GetMessageAttachments(
ItemId messageID,
string storageDirectory,
string filterExtension = ""
)
Public Function GetMessageAttachments (
messageID As ItemId,
storageDirectory As String,
Optional filterExtension As String = ""
) As FWRetVal(Of String)
public:
FWRetVal<String^>^ GetMessageAttachments(
ItemId^ messageID,
String^ storageDirectory,
String^ filterExtension = L""
)
member GetMessageAttachments :
messageID : ItemId *
storageDirectory : string *
?filterExtension : string
(* Defaults:
let _filterExtension = defaultArg filterExtension ""
*)
-> FWRetVal<string>
Parameters
- messageID
- Type: ItemId
The message ID. - storageDirectory
- Type: SystemString
The storage directory to place the files. - filterExtension (Optional)
- Type: SystemString
The extension to filter on if looking for a specific file type (sometimes there are images, etc that are irrelevant.
Return Value
Type:
FWRetValString A generic list of strings with the path and filename of saved attachments. Use this to work with saved data.
See Also