EwsAddAttachmentToItemAsync Method |
Namespace: MailBee.EwsMailAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<FileAttachment> AddAttachmentToItemAsync(
ItemId id,
string filename,
string targetFilename
)
Public Function AddAttachmentToItemAsync (
id As ItemId,
filename As String,
targetFilename As String
) As Task(Of FileAttachment)
Parameters
- id
- Type: ItemId
- filename
- Type: SystemString
- targetFilename
- Type: SystemString
Return Value
Type:
TaskFileAttachmentA task that represents the asynchronous operation. The value of
TResult parameter points to the EWS Managed API
FileAttachment object representing the attachment just added,
or a null reference (
Nothing in Visual Basic) on error.
Exceptions Remarks See Also