Click or drag to resize
MimeKit

MimeIteratorMoveTo Method

Advance to the entity specified by the path specifier.

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public bool MoveTo(
	string pathSpecifier
)

Parameters

pathSpecifier  String
The path specifier.

Return Value

Boolean
true if advancing to the specified entity was successful; otherwise, false.
Exceptions
ExceptionCondition
ArgumentNullExceptionpathSpecifier is null.
ArgumentExceptionpathSpecifier is empty.
FormatExceptionpathSpecifier is in an invalid format.
Remarks

Advances the iterator to the entity specified by the path specifier which must be in the same format as returned by PathSpecifier.

If the iterator has already advanced beyond the entity at the specified path, the iterator will Reset and advance as normal.

See Also