TnefPropertyReaderReadValueAsGuid Method

Read the current value as a GUID.

Definition

Namespace: MimeKit.Tnef
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Guid ReadValueAsGuid()

Return Value

Guid
The value as a GUID.

Remarks

Reads a ClassId value as a GUID.

Exceptions

ObjectDisposedException The TnefReader has been disposed.
InvalidOperationException

The TnefReader has been advanced to another attribute.

-or-

The reader is not positioned on a value.

-or-

The value cannot be read as a GUID.

See Also