Skip to content

libcURL.MultipartFormElement.NextElement

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

Property Declaration

 Dim NextElement As MultipartFormElement

Remarks

Form elements are stored as a linked list. This property allows you to traverse the list from first to last. The last element will have Nil as its NextElement.

Example

This example copies all the elements in a form to an array:

  Dim elements() As libcURL.MultipartFormElement
  Dim form As libcURL.MultipartForm ' assume a valid form object
  Dim e As libcURL.MultipartFormElement = form.GetElement(0) ' get the first element
  Do Until e = Nil
    elements.Append(e)
    e = e.NextElement
  Loop
Clone this wiki locally