Tnef Property ReaderRead Rows As Property Sets Method
Read the remaining rows of a table.
Definition
Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
The properties of each row.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public IReadOnlyList<TnefPropertySet> ReadRowsAsPropertySets(
CancellationToken cancellationToken = default
)Parameters
- cancellationToken CancellationToken (Optional)
- The cancellation token.
Return Value
IReadOnlyListTnefPropertySetThe properties of each row.
Remarks
Reads the properties of each of the remaining rows of a RecipientTable attribute. Any unread properties of the current row are skipped.
For attributes that do not contain a table, an empty list is returned.
Exceptions
| ObjectDisposedException | The TnefReader has been disposed. |
| InvalidOperationException | The TnefReader has been advanced to another attribute. |
| OperationCanceledException | The operation was canceled via the cancellation token. |
| IOException | An I/O error occurred. |