Skip to content

libcURL.MultipartFormElement.NextElement

Andrew Lambert edited this page Jun 15, 2017 · 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.

Example

This example copies all the elements in 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