TnefParserGetAttachmentsAsync Method |
Namespace: MailBee.TnefAssembly: MailBee.NET (in MailBee.NET.dll) Version: 12.5.0 build 687 for .NET 4.5
Syntax public static Task<AttachmentCollection> GetAttachmentsAsync(
string filename,
TnefExtractionOptions options
)
Public Shared Function GetAttachmentsAsync (
filename As String,
options As TnefExtractionOptions
) As Task(Of AttachmentCollection)
Parameters
- filename
- Type: SystemString
The path to the file containing TNEF data. - options
- Type: MailBee.MimeTnefExtractionOptions
Specifies which kinds of items (attachments and/or RTF message body) to extract from TNEF.
Return Value
Type:
TaskAttachmentCollectionA task that represents the asynchronous operation.
The value of
TResult parameter is an
AttachmentCollection object representing the collection of
the requested items extracted from TNEF.
Exceptions See Also