다음을 통해 공유


MimeReader.ReadNextPart Method

The ReadNextPart method moves to the next part in the MIME source stream.

Namespace: Microsoft.Exchange.Data.Mime
Assembly: Microsoft.Exchange.Data.Common (in microsoft.exchange.data.common.dll)

Syntax

'Declaration
Public Function ReadNextPart As Boolean
public bool ReadNextPart ()
public:
bool ReadNextPart ()
public boolean ReadNextPart ()
public function ReadNextPart () : boolean

Return Value

The ReadHeaders method returns true if it successfully moved to the next part. If there are no parts left to move to, the ReadHeaders method moves to the end of the MIME message and returns false.

Remarks

The hierarchical relationship of the next part to the current part is irrelevant to where the ReadNextPart method moves. The ReadNextPart method will move to the part that is sequentially next in the source MIME message.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003,

Target Platforms

Windows Server 2003