AttachmentSaveToFolderAsync Method |
Namespace: MailBee.MimeAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public Task<bool> SaveToFolderAsync(
string folderName,
bool overwrite
)
Public Function SaveToFolderAsync (
folderName As String,
overwrite As Boolean
) As Task(Of Boolean)
Parameters
- folderName
- Type: SystemString
The absolute or relative path to the folder where the attachment file should be saved. - overwrite
- Type: SystemBoolean
Specifies if the file must be overwritten if it already exists.
Return Value
Type:
TaskBooleanA task that represents the asynchronous operation.
The value of
TResult parameter is
true if the attachment was successfully saved to disk; otherwise,
false.
Exceptions See Also