libcURL.MIMEMessagePart.NextPart - charonn0/RB-libcURL GitHub Wiki
libcURL.MIMEMessagePart.NextPart
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