Skip to content

libcURL.MIMEMessagePart.NextPart

Andrew Lambert edited this page Nov 26, 2022 · 3 revisions

Property Declaration

 Dim NextPart As MIMEMessagePart

Remarks

Message parts are stored as a linked list. This property allows you to traverse the list from first to last. The last part will have Nil as its NextPart.

Example

This example copies all the parts in a message to an array:

  Dim parts() As libcURL.MIMEMessagePart
  Dim form As libcURL.MIMEMessage ' assume a valid form object
  Dim e As libcURL.MIMEMessagePart = form.GetElement(0) ' get the first element
  Do Until e = Nil
    parts.Append(e)
    e = e.NextPart
  Loop
Clone this wiki locally