MimeIteratorMoveTo Method

Advance to the entity specified by the path specifier.

Definition

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

Parameters

pathSpecifier  String
The path specifier.

Return Value

Boolean
if advancing to the specified entity was successful; otherwise, .

Remarks

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

If no entity exists at the specified path, the iterator is positioned beyond the end of the message and is returned.

Exceptions

ArgumentNullException pathSpecifier is .
ArgumentException pathSpecifier is empty.
FormatException pathSpecifier is in an invalid format.

See Also