Click or drag to resize
MimeKit

TnefPropertyReaderReadTextValue Method

Read the raw attribute or property value as a sequence of unicode characters.

Namespace: MimeKit.Tnef
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public int ReadTextValue(
	char[] buffer,
	int offset,
	int count
)

Parameters

buffer  Char
The buffer to read data into.
offset  Int32
The offset into the buffer to start reading data.
count  Int32
The number of characters to read.

Return Value

Int32
The total number of characters read into the buffer. This can be less than the number of characters requested if that many bytes are not currently available, or zero (0) if the end of the stream has been reached.
Exceptions
ExceptionCondition
ArgumentNullExceptionbuffer is null.
ArgumentOutOfRangeException

offset is less than zero or greater than the length of buffer.

-or-

The buffer is not large enough to contain count characters starting at the specified offset.

IOException An I/O error occurred.
Remarks
Reads the raw attribute or property value as a sequence of unicode characters.
See Also